summaryrefslogtreecommitdiff
path: root/sql/key.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/key.cc')
-rw-r--r--sql/key.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/key.cc b/sql/key.cc
index f7966140cdf..7f484bee32b 100644
--- a/sql/key.cc
+++ b/sql/key.cc
@@ -761,6 +761,7 @@ bool key_buf_cmp(KEY *key_info, uint used_key_parts,
LINT_INIT(cs);
LINT_INIT(length1);
LINT_INIT(length2);
+ LINT_INIT(pack_length);
key1+= key_part->length;
key2+= key_part->length;