List:Commits« Previous MessageNext Message »
From:ramil Date:October 30 2006 10:58am
Subject:bk commit into 5.1 tree (ramil:1.2338) BUG#23762
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 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@stripped, 2006-10-30 13:58:20+04:00, ramil@stripped +1 -0
  Fix for bug #23762: partition.test fails (partition_hash, partition_pruning as well)
  
  When a partition table is used we have to initialize key_part->flag in the 
  create_partition_index_descr() as it's checked in the get_mm_leaf().

  sql/opt_range.cc@stripped, 2006-10-30 13:58:13+04:00, ramil@stripped +1 -0
    Fix for bug #23762: partition.test fails (partition_hash, partition_pruning as well)
      - set key_part->flag to 0.
    

# 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:	myoffice.izhnet.ru
# Root:	/usr/home/ram/work/mysql-5.1-maint

--- 1.244/sql/opt_range.cc	2006-10-30 13:58:30 +04:00
+++ 1.245/sql/opt_range.cc	2006-10-30 13:58:30 +04:00
@@ -3237,6 +3237,7 @@ static bool create_partition_index_descr
 
     key_part->field=        (*field);
     key_part->image_type =  Field::itRAW;
+    key_part->flag=         0;
     /* We don't set key_parts->null_bit as it will not be used */
 
     ppar->is_part_keypart[part]= !in_subpart_fields;
Thread
bk commit into 5.1 tree (ramil:1.2338) BUG#23762ramil30 Oct