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

Fixed the bug with NOT IN (list) reported by Ivan Prenosil in fb-devel.

This commit is contained in:
asfernandes 2011-07-25 02:19:34 +00:00
parent 93aa34bddb
commit 03ae638440

View File

@ -1559,7 +1559,7 @@ BoolExprNode* NotBoolNode::process(DsqlCompilerScratch* dsqlScratch, bool invert
// Do not handle special case: <value> NOT IN <list>
if (cmpArg)
if (cmpArg && cmpArg->dsqlArg2->nod_type != Dsql::nod_list)
{
// Invert the given boolean.
switch (cmpArg->blrOp)