From: Date: September 9 2005 5:06pm Subject: bk commit into 4.1 tree (aivanov:1.2412) BUG#12101 List-Archive: http://lists.mysql.com/internals/29570 X-Bug: 12101 Message-Id: <20050909150625.0B48FFF0B2@mysql.creware.com> Below is the list of changes that have just been committed into a local 4.1 repository of alexi. When alexi does a push these changes will be propagated to the main repository and, within 24 hours after the push, to the public repository. For information on how to access the public repository see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html ChangeSet 1.2412 05/09/09 19:06:15 aivanov@stripped +1 -0 BUG #12101: Additional fix. sql/item_cmpfunc.cc 1.196 05/09/09 19:06:09 aivanov@stripped +4 -0 Modified Item_func_between::print(), Item_func_in::print(). Item_func_between/in objects represent now [NOT]BETWEEN/IN expressions. # This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas contained in the patch. The rest of the patch, the part # that BitKeeper cares about, is below these diffs. # User: aivanov # Host: mysql.creware.com # Root: /home/alexi/dev/mysql-4.1-12101 --- 1.195/sql/item_cmpfunc.cc 2005-09-07 18:55:23 +04:00 +++ 1.196/sql/item_cmpfunc.cc 2005-09-09 19:06:09 +04:00 @@ -983,6 +983,8 @@ { 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 @@ { str->append('('); args[0]->print(str); + if (negated) + str->append(" not", 4); str->append(" in (", 5); print_args(str, 1); str->append("))", 2);