← Back to team overview

maria-developers team mailing list archive

Rev 2795: Uninitialized memory problem fixed. in file:///home/bell/maria/bzr/work-maria-5.3-scache2/

 

At file:///home/bell/maria/bzr/work-maria-5.3-scache2/

------------------------------------------------------------
revno: 2795
revision-id: sanja@xxxxxxxxxxxx-20100608122454-dtlvue8n2s55yi67
parent: sanja@xxxxxxxxxxxx-20100608120847-v4loj2gdqjflbarv
committer: sanja@xxxxxxxxxxxx
branch nick: work-maria-5.3-scache2
timestamp: Tue 2010-06-08 15:24:54 +0300
message:
  Uninitialized memory problem fixed.
=== modified file 'sql/table.cc'
--- a/sql/table.cc	2010-06-07 07:58:45 +0000
+++ b/sql/table.cc	2010-06-08 12:24:54 +0000
@@ -5176,6 +5176,7 @@
     key_part_info->offset=   (*reg_field)->offset(record[0]);
     key_part_info->length=   (uint16) (*reg_field)->pack_length();
     keyinfo->key_length+= key_part_info->length;
+    key_part_info->key_part_flag= 0;
     /* TODO:
       The below method of computing the key format length of the
       key part is a copy/paste from opt_range.cc, and table.cc.