List:Commits« Previous MessageNext Message »
From:holyfoot Date:March 9 2007 9:50am
Subject:bk commit into 5.1 tree (holyfoot:1.2476)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of hf. When hf 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-09 13:50:06+04:00, holyfoot@hfmain.(none) +1 -0
  Merge mysql.com:/home/hf/work/mrg/mysql-5.0-opt
  into  mysql.com:/home/hf/work/mrg/mysql-5.1-opt
  MERGE: 1.1810.2373.146

  sql/sql_select.cc@stripped, 2007-03-09 13:50:03+04:00, holyfoot@hfmain.(none) +0 -0
    Auto merged
    MERGE: 1.312.1.186

# 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:	holyfoot
# Host:	hfmain.(none)
# Root:	/home/hf/work/mrg/mysql-5.1-opt/RESYNC

--- 1.501/sql/sql_select.cc	2007-03-09 13:50:11 +04:00
+++ 1.502/sql/sql_select.cc	2007-03-09 13:50:11 +04:00
@@ -7788,7 +7788,8 @@ static COND* substitute_for_best_equal_f
           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());
 
   }
Thread
bk commit into 5.1 tree (holyfoot:1.2476)holyfoot9 Mar