diff options
author | bell@sanja.is.com.ua <> | 2002-05-13 22:39:36 +0300 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2002-05-13 22:39:36 +0300 |
commit | f3dc0a80e1d9d145eb273173cb7d5d552fe7dabc (patch) | |
tree | fda4275f6d5f676fb2bfd64c1930e0d77984fd85 /heap | |
parent | 413d32d796dc6182e637a037dbf9517b79a2cae9 (diff) | |
download | mariadb-git-f3dc0a80e1d9d145eb273173cb7d5d552fe7dabc.tar.gz |
HEAP tables bug (by Ramil request)
Diffstat (limited to 'heap')
-rw-r--r-- | heap/hp_hash.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/heap/hp_hash.c b/heap/hp_hash.c index 70823c2c2c7..dbd330ea4f4 100644 --- a/heap/hp_hash.c +++ b/heap/hp_hash.c @@ -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; } |