8
0
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:
asfernandes 2009-04-10 20:17:35 +00:00
parent 596816ff86
commit 4a4fd4c9e4

View File

@ -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);