List:Internals« Previous MessageNext Message »
From:ramil Date:June 15 2005 2:04pm
Subject:bk commit into 5.0 tree (ramil:1.1944)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of ram. When ram 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.1944 05/06/15 17:04:29 ramil@stripped +1 -0
  Merge rkalimullin@stripped:/home/bk/mysql-5.0
  into mysql.com:/usr/home/ram/work/5.0.b11091

  sql/sql_select.cc
    1.338 05/06/15 17:04:26 ramil@stripped +0 -0
    Auto merged

# 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:	ramil
# Host:	gw.mysql.r18.ru
# Root:	/usr/home/ram/work/5.0.b11091/RESYNC

--- 1.337/sql/sql_select.cc	2005-06-15 14:06:20 +05:00
+++ 1.338/sql/sql_select.cc	2005-06-15 17:04:26 +05:00
@@ -8030,7 +8030,6 @@
   KEY_PART_INFO *key_part_info;
   Item **copy_func;
   MI_COLUMNDEF *recinfo;
-  uint total_uneven_bit_length= 0;
   DBUG_ENTER("create_tmp_table");
   DBUG_PRINT("enter",("distinct: %d  save_sum_fields: %d  rows_limit: %lu  group: %d",
 		      (int) distinct, (int) save_sum_fields,
@@ -8234,8 +8233,6 @@
       reclength+=new_field->pack_length();
       if (!(new_field->flags & NOT_NULL_FLAG))
 	null_count++;
-      if (new_field->type() == FIELD_TYPE_BIT)
-        total_uneven_bit_length+= new_field->field_length & 7;
       if (new_field->flags & BLOB_FLAG)
       {
         *blob_field++= (uint) (reg_field - table->field);
@@ -8285,8 +8282,7 @@
       null_count++;
   }
   hidden_null_pack_length=(hidden_null_count+7)/8;
-  null_pack_length= hidden_null_count +
-                    (null_count + total_uneven_bit_length + 7) / 8;
+  null_pack_length= hidden_null_count + (null_count + 7) / 8;
   reclength+=null_pack_length;
   if (!reclength)
     reclength=1;				// Dummy select
Thread
bk commit into 5.0 tree (ramil:1.1944)ramil15 Jun