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

Add missing condition for the prior commit.

This commit is contained in:
Dmitry Yemanov 2016-07-08 23:00:24 +03:00
parent 1cdded614e
commit 26cb346aee

View File

@ -2356,6 +2356,7 @@ static RecordSource* gen_retrieval(thread_db* tdbb,
BoolExprNode* node = tail->opt_conjunct_node;
if (!(tail->opt_conjunct_flags & opt_conjunct_used) &&
!(node->nodFlags & ExprNode::FLAG_RESIDUAL) &&
node->computable(csb, INVALID_STREAM, false))
{
compose(*tdbb->getDefaultPool(), return_boolean, node);