List:Commits« Previous MessageNext Message »
From:Tor Didriksen Date:December 20 2010 9:00am
Subject:bzr commit into mysql-5.5-bugteam branch (tor.didriksen:3215) Bug#59021
View as plain text  
#At file:///export/home/didrik/repo/5.5-bugteam/ based on revid:sven.sandberg@stripped

 3215 Tor Didriksen	2010-12-20
      Bug #59021 Valgrind warning in key_unpack()
      
      Introduced by fix for Bug#57687
     @ sql/sql_select.cc
        Add missing initialization of key_part_info->key_part_flag

    modified:
      sql/sql_select.cc
=== modified file 'sql/sql_select.cc'
--- a/sql/sql_select.cc	2010-12-17 12:52:39 +0000
+++ b/sql/sql_select.cc	2010-12-20 09:00:14 +0000
@@ -10720,6 +10720,7 @@ create_tmp_table(THD *thd,TMP_TABLE_PARA
 	 (ha_base_keytype) key_part_info->type == HA_KEYTYPE_VARTEXT1 ||
 	 (ha_base_keytype) key_part_info->type == HA_KEYTYPE_VARTEXT2) ?
 	0 : FIELDFLAG_BINARY;
+      key_part_info->key_part_flag= 0;
       if (!using_unique_constraint)
       {
 	cur_group->buff=(char*) group_buff;


Attachment: [text/bzr-bundle] bzr/tor.didriksen@oracle.com-20101220090014-lbx6lwta2tiy2imx.bundle
Thread
bzr commit into mysql-5.5-bugteam branch (tor.didriksen:3215) Bug#59021Tor Didriksen20 Dec