diff options
author | unknown <aivanov@mysql.com> | 2005-09-09 19:08:12 +0400 |
---|---|---|
committer | unknown <aivanov@mysql.com> | 2005-09-09 19:08:12 +0400 |
commit | c7386a19ba8443d3a9d969134a07fe38bf17ff0a (patch) | |
tree | 28f68e5048028d2f3d47e396186b83d67f4b96f4 | |
parent | cf0b4702f568ca76e78e1ac47e0e37e19f1b00f8 (diff) | |
parent | 26f8e9c933722406952bbe939245d31a8259ced0 (diff) | |
download | mariadb-git-c7386a19ba8443d3a9d969134a07fe38bf17ff0a.tar.gz |
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
-rw-r--r-- | sql/item_cmpfunc.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc index 5079c462ac0..78a512d0ddb 100644 --- a/sql/item_cmpfunc.cc +++ b/sql/item_cmpfunc.cc @@ -1169,6 +1169,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); @@ -2411,6 +2413,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); |