Skip to content

Commit

Permalink
Fixed CORE-2417 - Index cannot be used with <field> LIKE <constant> i…
Browse files Browse the repository at this point in the history
…n HAVING clause.
  • Loading branch information
asfernandes committed Apr 10, 2009
1 parent 596816f commit 4a4fd4c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/dsql/pass1.cpp
Expand Up @@ -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);

Expand Down

0 comments on commit 4a4fd4c

Please sign in to comment.