List:Commits« Previous MessageNext Message »
From:kgeorge Date:July 27 2006 7:06am
Subject:bk commit into 4.1 tree (gkodinov:1.2540)
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of kgeorge. When kgeorge 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-07-27 10:06:37+03:00, gkodinov@rakia.(none) +1 -0
  Merge gkodinov@stripped:/home/bk/mysql-4.1-opt
  into  rakia.(none):/home/kgeorge/mysql/autopush/B20792-4.1-opt
  MERGE: 1.2538.1.1

  sql/sql_select.cc@stripped, 2006-07-27 10:06:35+03:00, gkodinov@rakia.(none) +0 -0
    Auto merged
    MERGE: 1.461.1.1

# 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:	gkodinov
# Host:	rakia.(none)
# Root:	/home/kgeorge/mysql/autopush/B20792-4.1-opt/RESYNC

--- 1.462/sql/sql_select.cc	2006-07-27 10:06:41 +03:00
+++ 1.463/sql/sql_select.cc	2006-07-27 10:06:41 +03:00
@@ -4473,10 +4473,16 @@ return_zero_rows(JOIN *join, select_resu
   DBUG_RETURN(0);
 }
 
-
+/*
+  used only in JOIN::clear
+*/
 static void clear_tables(JOIN *join)
 {
-  for (uint i=0 ; i < join->tables ; i++)
+  /* 
+    must clear only the non-const tables, as const tables
+    are not re-calculated.
+  */
+  for (uint i=join->const_tables ; i < join->tables ; i++)
     mark_as_null_row(join->table[i]);		// All fields are NULL
 }
 
Thread
bk commit into 4.1 tree (gkodinov:1.2540)kgeorge27 Jul