HEAP tables bug (by Ramil request)

This commit is contained in:
bell@sanja.is.com.ua 2002-05-13 22:39:36 +03:00
parent 413d32d796
commit f3dc0a80e1

View file

@ -482,10 +482,7 @@ uint hp_rb_pack_key(HP_INFO *info, uint inx, uchar *key, const uchar *old,
old+= seg->length, seg++)
{
if (seg->null_bit)
{
if (!(*key++= (char) 1 - *old++))
continue;
}
*key++= 1 - *old++;
memcpy((byte*) key, old, seg->length);
key+= seg->length;
}