summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2003-12-19 16:42:17 +0200
committermonty@mysql.com <>2003-12-19 16:42:17 +0200
commitd4c32db1811f581c94c4cb414d00d12f92b46877 (patch)
tree1bc701f03b8b7eee26e53e61cad701ad3bbf621d /sql/opt_range.cc
parenteeff10e4c17c3342f5ee8cbbe70203dfbd984678 (diff)
parentaa3f200c031913313d5373032a03709635bf0227 (diff)
downloadmariadb-git-d4c32db1811f581c94c4cb414d00d12f92b46877.tar.gz
merge with 4.0.18
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r--sql/opt_range.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index 54c3f3c0ae3..acc23924f75 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -1090,7 +1090,6 @@ get_mm_leaf(PARAM *param, Field *field, KEY_PART *key_part,
all rows between 'X' and 'X ...'
*/
uint length= uint2korr(str+maybe_null);
- char *end;
str2= str+ key_part->part_length + maybe_null;
/* remove end space */
while (length > 0 && str[length+HA_KEY_BLOB_LENGTH+maybe_null-1] == ' ')