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

Fixed CORE-4921: Predicate IS [NOT] DISTINCT FROM is not pushed into unions/aggregates thus causing sub-optimal plans.

This commit is contained in:
dimitr 2015-09-01 20:54:31 +00:00
parent a64e017b37
commit 10a0d6fd8c

View File

@ -4245,6 +4245,7 @@ static void gen_deliver_unmapped(thread_db* tdbb, NodeStack* deliverStack,
// Reduce to simple comparisons
if (!((boolean->nod_type == nod_eql) ||
(boolean->nod_type == nod_equiv) ||
(boolean->nod_type == nod_gtr) ||
(boolean->nod_type == nod_geq) ||
(boolean->nod_type == nod_leq) ||