summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2003-12-18 14:40:19 +0200
committerunknown <monty@mysql.com>2003-12-18 14:40:19 +0200
commit15484ba20c887c7970b7f164c32aade2967c4b66 (patch)
tree6b1f00f092b3ba754b2428500a6a935f8c1d46b1 /sql/opt_range.cc
parent6b1e06e62080e684f61ef6d278d91a2f4c8c4309 (diff)
downloadmariadb-git-15484ba20c887c7970b7f164c32aade2967c4b66.tar.gz
Simple cleanups
mysql-test/t/auto_increment.test: Fixed wrong comment sql/opt_range.cc: Removed not used variable sql/sql_select.cc: Removed indentation level (This will also make merges into 4.1 easier)
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 74e3f855db7..7e5ca50d349 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -1076,7 +1076,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] == ' ')