MySQL Lists are EOL. Please join:

List:Internals« Previous MessageNext Message »
From:pekka Date:April 13 2005 2:46pm
Subject:bk commit into 4.1 tree (pekka:1.2179) BUG#9676
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of pekka. When pekka 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
  1.2179 05/04/13 16:46:02 pekka@stripped +1 -0
  bug#9676

  sql/sql_select.cc
    1.395 05/04/13 16:11:03 pekka@stripped +2 -1
    create_tmp_table: set rows_limit always

# 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:	pekka
# Host:	tuna.ndb.mysql.com
# Root:	/orca/space/pekka/ndb/version/my41

--- 1.394/sql/sql_select.cc	2005-04-07 15:47:36 +02:00
+++ 1.395/sql/sql_select.cc	2005-04-13 16:11:03 +02:00
@@ -5349,6 +5349,8 @@
   set_if_bigger(table->max_rows,1);		// For dummy start options
   keyinfo=param->keyinfo;
 
+  param->end_write_records= rows_limit; // set always
+
   if (group)
   {
     DBUG_PRINT("info",("Creating group key in temporary table"));
@@ -5418,7 +5420,6 @@
     keyinfo->key_parts= ((field_count-param->hidden_field_count)+
 			 test(null_pack_length));
     set_if_smaller(table->max_rows, rows_limit);
-    param->end_write_records= rows_limit;
     table->distinct=1;
     table->keys=1;
     if (blob_count)
Thread
bk commit into 4.1 tree (pekka:1.2179) BUG#9676pekka13 Apr