8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 09:20:39 +01:00
This commit is contained in:
robocop 2010-09-24 08:33:22 +00:00
parent 69fbe060d9
commit 2bcc48445f

View File

@ -1405,8 +1405,8 @@ bool MissingBoolNode::execute(thread_db* tdbb, jrd_req* request) const
request->req_flags &= ~req_null;
return true;
}
else
return false;
return false;
}
@ -1462,8 +1462,8 @@ BoolExprNode* NotBoolNode::pass1(thread_db* tdbb, CompilerScratch* csb)
if (rseBoolean)
{
if (rseBoolean->blrOp == blr_ansi_any)
rseBoolean->flags |= FLAG_DEOPTIMIZE;
if (rseBoolean->blrOp == blr_ansi_any || rseBoolean->blrOp == blr_ansi_all)
rseBoolean->flags |= FLAG_DEOPTIMIZE | FLAG_ANSI_NOT;
else if (rseBoolean->blrOp == blr_ansi_all)
rseBoolean->flags |= FLAG_ANSI_NOT;
}
@ -1657,7 +1657,7 @@ bool RseBoolNode::dsqlMatch(const ExprNode* other, bool ignoreMapCast) const
return false;
const RseBoolNode* o = other->as<RseBoolNode>();
fb_assert(o)
fb_assert(o);
return blrOp == o->blrOp;
}