diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2010-11-23 18:08:11 +0300 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2010-11-23 18:08:11 +0300 |
commit | fad2ec74999a7ff513c9421cae2c84b2408b7e92 (patch) | |
tree | 4aed42629c316d4a5dbf42f384e54d4530126007 /sql/key.cc | |
parent | a6c1d56e083bcb8ab2c32f8d89865ef46c0eb70e (diff) | |
download | mariadb-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.cc | 1 |
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; |