diff options
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r-- | sql/sql_select.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index 6e4b9aeba6b..b0d354ed14c 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -12699,7 +12699,7 @@ static bool check_simple_equality(THD *thd, const Item::Context &ctx, already contains a constant and its value is not equal to the value of const_item. */ - item_equal->add_const(thd, const_item2, orig_field_item); + item_equal->add_const(thd, const_item2); } else { |