summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2003-12-19 16:42:17 +0200
committerunknown <monty@mysql.com>2003-12-19 16:42:17 +0200
commit6988eaffade652053ab5154ace6a321e4d2ff9c6 (patch)
tree1bc701f03b8b7eee26e53e61cad701ad3bbf621d /sql/opt_range.cc
parent245b1385a10a12a955c95338b08190cac5cfcbd4 (diff)
parenta7d8af9b08363808c2e2ec9e26ae67a5616bb746 (diff)
downloadmariadb-git-6988eaffade652053ab5154ace6a321e4d2ff9c6.tar.gz
merge with 4.0.18
Build-tools/Bootstrap: Auto merged client/mysql.cc: Auto merged mysql-test/r/auto_increment.result: Auto merged mysql-test/t/auto_increment.test: Auto merged mysql-test/t/type_decimal.test: Auto merged sql/opt_range.cc: Auto merged sql/share/czech/errmsg.txt: Auto merged sql/share/english/errmsg.txt: Auto merged sql/share/estonian/errmsg.txt: Auto merged sql/slave.cc: Auto merged sql/share/french/errmsg.txt: Auto merged sql/share/greek/errmsg.txt: Auto merged sql/share/hungarian/errmsg.txt: Auto merged sql/share/japanese/errmsg.txt: Auto merged sql/share/korean/errmsg.txt: Auto merged sql/share/norwegian-ny/errmsg.txt: Auto merged sql/share/norwegian/errmsg.txt: Auto merged sql/share/polish/errmsg.txt: Auto merged sql/share/romanian/errmsg.txt: Auto merged sql/share/slovak/errmsg.txt: Auto merged
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] == ' ')