summaryrefslogtreecommitdiff
path: root/sql/key.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/key.cc')
-rw-r--r--sql/key.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/sql/key.cc b/sql/key.cc
index 3299c3db8f8..4bd71d2fa47 100644
--- a/sql/key.cc
+++ b/sql/key.cc
@@ -197,12 +197,6 @@ void key_restore(byte *to_record, byte *from_key, KEY *key_info,
(key_part->null_bit == 128),
field->bit_ofs, field->bit_len);
}
- else
- {
- clr_rec_bits(to_record + key_part->null_offset +
- (key_part->null_bit == 128),
- field->bit_ofs, field->bit_len);
- }
}
if (key_part->key_part_flag & HA_BLOB_PART)
{