diff options
author | unknown <bell@sanja.is.com.ua> | 2002-05-13 22:39:36 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2002-05-13 22:39:36 +0300 |
commit | bf8727991777e9fd90a5a6966454f942b162b502 (patch) | |
tree | fda4275f6d5f676fb2bfd64c1930e0d77984fd85 /heap | |
parent | 492611f16575bd4f05a7ccd844fa27742ac1f0c5 (diff) | |
download | mariadb-git-bf8727991777e9fd90a5a6966454f942b162b502.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; } |