summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--heap/hp_hash.c5
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;
}