mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 03:23:03 +01:00
Fixed the second example in CORE-4937: View/subselect with "union" does not use computed index.
This commit is contained in:
parent
41b57a3b35
commit
6e50d9b590
@ -2932,6 +2932,7 @@ static bool expression_possible_unknown(const jrd_nod* node)
|
||||
|
||||
case nod_or:
|
||||
case nod_and:
|
||||
case nod_not:
|
||||
|
||||
case nod_add:
|
||||
case nod_add2:
|
||||
@ -2958,6 +2959,7 @@ static bool expression_possible_unknown(const jrd_nod* node)
|
||||
case nod_contains:
|
||||
case nod_similar:
|
||||
case nod_starts:
|
||||
case nod_equiv:
|
||||
case nod_eql:
|
||||
case nod_neq:
|
||||
case nod_geq:
|
||||
@ -3110,6 +3112,10 @@ static bool expression_contains_stream(CompilerScratch* csb,
|
||||
break;
|
||||
|
||||
// go into the node arguments
|
||||
case nod_or:
|
||||
case nod_and:
|
||||
case nod_not:
|
||||
|
||||
case nod_add:
|
||||
case nod_add2:
|
||||
case nod_agg_average:
|
||||
@ -6215,6 +6221,10 @@ static jrd_nod* get_unmapped_node(thread_db* tdbb, jrd_nod* node,
|
||||
returnNode = node;
|
||||
break;
|
||||
|
||||
case nod_or:
|
||||
case nod_and:
|
||||
case nod_not:
|
||||
|
||||
case nod_add:
|
||||
case nod_add2:
|
||||
case nod_concatenate:
|
||||
|
Loading…
Reference in New Issue
Block a user