summaryrefslogtreecommitdiff
path: root/sql/key.cc
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2010-11-23 18:08:11 +0300
committerSergey Petrunya <psergey@askmonty.org>2010-11-23 18:08:11 +0300
commitfad2ec74999a7ff513c9421cae2c84b2408b7e92 (patch)
tree4aed42629c316d4a5dbf42f384e54d4530126007 /sql/key.cc
parenta6c1d56e083bcb8ab2c32f8d89865ef46c0eb70e (diff)
downloadmariadb-git-fad2ec74999a7ff513c9421cae2c84b2408b7e92.tar.gz
MWL#121-125 DS-MRR improvements
- Address Monty's review feedback, part 3
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 708f309fbaf..b7f52a5833b 100644
--- a/sql/key.cc
+++ b/sql/key.cc
@@ -590,6 +590,7 @@ int key_tuple_cmp(KEY_PART_INFO *part, uchar *key1, uchar *key2,
/* Step over the NULL bytes for key_cmp() call */
key1++;
key2++;
+ len--;
}
if ((res= part->field->key_cmp(key1, key2)))
return res;