mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 17:23:04 +01:00
Fixed CORE-1153 - Activating index change "STARTING" working as "LIKE" in join condition
This commit is contained in:
parent
ae7cd2c9a8
commit
032de38ae8
@ -2215,7 +2215,7 @@ bool OptimizerRetrieval::matchBoolean(IndexScratch* indexScratch,
|
|||||||
if (!OPT_expression_equal(tdbb, optimizer, indexScratch->idx, match, stream) ||
|
if (!OPT_expression_equal(tdbb, optimizer, indexScratch->idx, match, stream) ||
|
||||||
(value && !OPT_computable(optimizer->opt_csb, value, stream, true, false)))
|
(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_expression_equal(tdbb, optimizer, indexScratch->idx, value, stream) &&
|
||||||
OPT_computable(optimizer->opt_csb, match, stream, true, false))
|
OPT_computable(optimizer->opt_csb, match, stream, true, false))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user