avoid writting junk

This commit is contained in:
unknown 2003-11-04 11:20:00 +02:00
parent 78ee8de22d
commit fab5bf3529

View file

@ -302,6 +302,7 @@ static uint pack_keys(uchar *keybuff,uint key_count,KEY *keyinfo)
{
keybuff[0]=(uchar) key_count;
keybuff[1]=(uchar) key_parts;
keybuff[2]= keybuff[3]= 0;
}
length=(uint) (pos-keyname_pos);
int2store(keybuff+4,length);