mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
HEAP tables bug (by Ramil request)
This commit is contained in:
parent
413d32d796
commit
f3dc0a80e1
1 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue