mirror of
https://github.com/MariaDB/server.git
synced 2025-05-31 08:42:45 +03:00
Merge mysql.com:/home/alexi/dev/mysql-4.1-12101
into mysql.com:/home/alexi/dev/mysql-5.0-12101 sql/item_cmpfunc.cc: Auto merged sql/item_cmpfunc.h: Auto merged
This commit is contained in:
commit
c7386a19ba
@ -1169,6 +1169,8 @@ void Item_func_between::print(String *str)
|
|||||||
{
|
{
|
||||||
str->append('(');
|
str->append('(');
|
||||||
args[0]->print(str);
|
args[0]->print(str);
|
||||||
|
if (negated)
|
||||||
|
str->append(" not", 4);
|
||||||
str->append(" between ", 9);
|
str->append(" between ", 9);
|
||||||
args[1]->print(str);
|
args[1]->print(str);
|
||||||
str->append(" and ", 5);
|
str->append(" and ", 5);
|
||||||
@ -2411,6 +2413,8 @@ void Item_func_in::print(String *str)
|
|||||||
{
|
{
|
||||||
str->append('(');
|
str->append('(');
|
||||||
args[0]->print(str);
|
args[0]->print(str);
|
||||||
|
if (negated)
|
||||||
|
str->append(" not", 4);
|
||||||
str->append(" in (", 5);
|
str->append(" in (", 5);
|
||||||
print_args(str, 1);
|
print_args(str, 1);
|
||||||
str->append("))", 2);
|
str->append("))", 2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user