From: Date: March 8 2007 5:38pm Subject: bk commit into 5.0 tree (evgen:1.2435) BUG#22331 List-Archive: http://lists.mysql.com/commits/21547 X-Bug: 22331 Message-Id: <20070308163824.E542022D203@moonbone.moonbone.local> Below is the list of changes that have just been committed into a local 5.0 repository of evgen. When evgen 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@stripped, 2007-03-08 19:38:21+03:00, evgen@stripped +1 -0 sql_select.cc: Postfix for bug#22331. sql/sql_select.cc@stripped, 2007-03-08 19:37:19+03:00, evgen@stripped +2 -1 Postfix for bug#22331. # 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: evgen # Host: moonbone.local # Root: /mnt/gentoo64/work/22331-bug-5.0-opt-mysql --- 1.499/sql/sql_select.cc 2007-03-08 00:27:05 +03:00 +++ 1.500/sql/sql_select.cc 2007-03-08 19:37:19 +03:00 @@ -7621,7 +7621,8 @@ break; } } - if (!((Item_cond*)cond)->argument_list()->elements) + if (cond->type() == Item::COND_ITEM && + !((Item_cond*)cond)->argument_list()->elements) cond= new Item_int((int32)cond->val_bool()); }