mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 23:23:04 +01:00
Backported fix for CORE-1153 - Activating index change "STARTING" working as "LIKE" in join condition
This commit is contained in:
parent
381e74601b
commit
99f976f963
@ -2233,7 +2233,7 @@ bool OptimizerRetrieval::matchBoolean(IndexScratch* indexScratch,
|
||||
if (!OPT_expression_equal(tdbb, optimizer, indexScratch->idx, match, stream) ||
|
||||
(value && !OPT_computable(optimizer->opt_csb, value, stream, true, false)))
|
||||
{
|
||||
if (value &&
|
||||
if (boolean->nod_type != nod_starts && value &&
|
||||
OPT_expression_equal(tdbb, optimizer, indexScratch->idx, value, stream) &&
|
||||
OPT_computable(optimizer->opt_csb, match, stream, true, false))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user