List:Commits« Previous MessageNext Message »
From:Sergey Petrunia Date:October 5 2007 1:48pm
Subject:bk commit into 5.2 tree (sergefp:1.2581)
View as plain text  
Below is the list of changes that have just been committed into a local
5.2 repository of psergey. When psergey 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, 2007-10-05 15:48:28+04:00, sergefp@stripped +1 -0
  WL#2771: Fix DBUG_ASSERT crash in myisam: provide correct keypart_map

  sql/sql_select.cc@stripped, 2007-10-05 15:48:23+04:00, sergefp@stripped +1 -1
    WL#2771: Fix DBUG_ASSERT crash in myisam: provide correct keypart_map

diff -Nrup a/sql/sql_select.cc b/sql/sql_select.cc
--- a/sql/sql_select.cc	2007-10-03 15:09:45 +04:00
+++ b/sql/sql_select.cc	2007-10-05 15:48:23 +04:00
@@ -16387,7 +16387,7 @@ static uint bka_range_seq_next(range_seq
       key_range *start_key= &range->start_key;
       start_key->key= ref->key_buff;
       start_key->length= ref->key_length;
-      start_key->keypart_map= 1 << ref->key_parts - 1;
+      start_key->keypart_map= (1 << ref->key_parts) - 1;
       start_key->flag= HA_READ_KEY_EXACT;
       range->end_key= *start_key;
       range->end_key.flag= HA_READ_AFTER_KEY;
Thread
bk commit into 5.2 tree (sergefp:1.2581)Sergey Petrunia5 Oct