8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 00:03:03 +01:00

There's no need to transform NOT ANY to ALL, as NOT ANY effectively uses indices.

This commit is contained in:
dimitr 2006-02-15 13:35:53 +00:00
parent 3f20973490
commit 5ac952b661

View File

@ -5627,6 +5627,7 @@ static dsql_nod* pass1_not(dsql_req* request,
case nod_geq_all:
node_type = nod_lss_any;
break;
/*
case nod_eql_any:
if (sub->nod_arg[1]->nod_type == nod_list) {
// this is NOT IN (<list>), don't change it
@ -5651,6 +5652,7 @@ static dsql_nod* pass1_not(dsql_req* request,
case nod_geq_any:
node_type = nod_lss_all;
break;
*/
case nod_between:
node_type = nod_or;
is_between = true;