Commit 26f8e9c9 authored by unknown's avatar unknown
Browse files

BUG #12101: Additional fix.


sql/item_cmpfunc.cc:
  Modified Item_func_between::print(), Item_func_in::print().
  Item_func_between/in objects represent now [NOT]BETWEEN/IN expressions.
parent 9f2b113a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -983,6 +983,8 @@ void Item_func_between::print(String *str)
{
  str->append('(');
  args[0]->print(str);
  if (negated)
    str->append(" not", 4);
  str->append(" between ", 9);
  args[1]->print(str);
  str->append(" and ", 5);
@@ -1969,6 +1971,8 @@ void Item_func_in::print(String *str)
{
  str->append('(');
  args[0]->print(str);
  if (negated)
    str->append(" not", 4);
  str->append(" in (", 5);
  print_args(str, 1);
  str->append("))", 2);