List:Commits« Previous MessageNext Message »
From:igor Date:October 17 2006 9:26pm
Subject:bk commit into 5.0 tree (igor:1.2306)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of igor. When igor 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, 2006-10-17 12:25:53-07:00, igor@stripped +1 -0
  Merge ibabaev@stripped:/home/bk/mysql-5.0-opt
  into  rurik.mysql.com:/home/igor/mysql-5.0-opt
  MERGE: 1.2304.1.1

  sql/sql_select.cc@stripped, 2006-10-17 12:25:48-07:00, igor@stripped +0 -0
    Auto merged
    MERGE: 1.460.1.2

# 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:	igor
# Host:	rurik.mysql.com
# Root:	/home/igor/mysql-5.0-opt/RESYNC

--- 1.462/sql/sql_select.cc	2006-10-17 12:26:00 -07:00
+++ 1.463/sql/sql_select.cc	2006-10-17 12:26:00 -07:00
@@ -5046,23 +5046,23 @@
     Reuse TABLE * and JOIN_TAB if already allocated by a previous call
     to this function through JOIN::exec (may happen for sub-queries).
   */
-  if (!join->table_cache)
+  if (!join->table_reexec)
   {
-    if (!(join->table_cache= (TABLE**) join->thd->alloc(sizeof(TABLE*))))
+    if (!(join->table_reexec= (TABLE**) join->thd->alloc(sizeof(TABLE*))))
       DBUG_RETURN(TRUE);                        /* purecov: inspected */
     if (join->tmp_join)
-      join->tmp_join->table_cache= join->table_cache;
+      join->tmp_join->table_reexec= join->table_reexec;
   }
-  if (!join->join_tab_cache)
+  if (!join->join_tab_reexec)
   {
-    if (!(join->join_tab_cache=
+    if (!(join->join_tab_reexec=
           (JOIN_TAB*) join->thd->alloc(sizeof(JOIN_TAB))))
       DBUG_RETURN(TRUE);                        /* purecov: inspected */
     if (join->tmp_join)
-      join->tmp_join->join_tab_cache= join->join_tab_cache;
+      join->tmp_join->join_tab_reexec= join->join_tab_reexec;
   }
-  tableptr= join->table_cache;
-  join_tab= join->join_tab_cache;
+  tableptr= join->table_reexec;
+  join_tab= join->join_tab_reexec;
 
   join->join_tab=join_tab;
   join->table=tableptr; tableptr[0]=tmp_table;
Thread
bk commit into 5.0 tree (igor:1.2306)igor17 Oct