Commit bf872799 authored by unknown's avatar unknown

HEAP tables bug (by Ramil request)

parent 492611f1
...@@ -482,10 +482,7 @@ uint hp_rb_pack_key(HP_INFO *info, uint inx, uchar *key, const uchar *old, ...@@ -482,10 +482,7 @@ uint hp_rb_pack_key(HP_INFO *info, uint inx, uchar *key, const uchar *old,
old+= seg->length, seg++) old+= seg->length, seg++)
{ {
if (seg->null_bit) if (seg->null_bit)
{ *key++= 1 - *old++;
if (!(*key++= (char) 1 - *old++))
continue;
}
memcpy((byte*) key, old, seg->length); memcpy((byte*) key, old, seg->length);
key+= seg->length; key+= seg->length;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment