mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 02:03:04 +01:00
Fixed CORE-2417 - Index cannot be used with <field> LIKE <constant> in HAVING clause.
This commit is contained in:
parent
596816ff86
commit
4a4fd4c9e4
@ -10021,10 +10021,6 @@ static dsql_nod* remap_field(CompiledStatement* statement, dsql_nod* field,
|
||||
field->nod_arg[e_hidden_var_expr], context, current_level);
|
||||
return field;
|
||||
|
||||
case nod_constant:
|
||||
// ASF: Do not remap non-user constants - CORE-2265.
|
||||
return (field->nod_flags & NOD_CONST_SPECIAL) ? field : post_map(field, context);
|
||||
|
||||
case nod_dbkey:
|
||||
return post_map(field, context);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user