List:Commits« Previous MessageNext Message »
From:Sergey Petrunia Date:April 21 2007 4:27pm
Subject:bk commit into 5.0 tree (sergefp:1.2437)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of psergey. When psergey 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-04-21 20:27:39+04:00, sergefp@stripped +1 -0
  Merge spetrunia@stripped:/home/bk/mysql-5.0-opt
  into  mysql.com:/home/psergey/mysql-5.0-bug27939
  MERGE: 1.2425.38.7

  sql/sql_select.cc@stripped, 2007-04-21 20:27:34+04:00, sergefp@stripped +0 -0
    Auto merged
    MERGE: 1.507.1.4

# 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:	sergefp
# Host:	pylon64.mylan
# Root:	/home/psergey/mysql-5.0-bug27939/RESYNC

--- 1.510/sql/sql_select.cc	2007-04-21 20:27:46 +04:00
+++ 1.511/sql/sql_select.cc	2007-04-21 20:27:46 +04:00
@@ -5444,8 +5444,9 @@
   for (uint i=join->const_tables ; i < join->tables ; i++)
   {
     JOIN_TAB *tab=join->join_tab+i;
-    if ((tab->type == JT_REF || tab->type == JT_REF_OR_NULL) &&
-         !tab->table->maybe_null)
+    if ((tab->type == JT_REF || tab->type == JT_EQ_REF || 
+         tab->type == JT_REF_OR_NULL) &&
+        !tab->table->maybe_null)
     {
       for (uint keypart= 0; keypart < tab->ref.key_parts; keypart++)
       {
Thread
bk commit into 5.0 tree (sergefp:1.2437)Sergey Petrunia21 Apr