summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2003-02-17 16:47:48 +0400
committerunknown <bar@bar.mysql.r18.ru>2003-02-17 16:47:48 +0400
commit2b141612128d90e62032f5a898b3e14df96ef2cf (patch)
treed12f49eb13f17341ac554a3a473b0b491177db2f /sql/opt_range.cc
parentb3982368a8607db812ac548a6f29a4762f05cd06 (diff)
downloadmariadb-git-2b141612128d90e62032f5a898b3e14df96ef2cf.tar.gz
sql_table.cc, field.cc:
Bug fix opt_range.cc: Buf fix sql/field.cc: Bug fix sql/opt_range.cc: Buf fix sql/sql_table.cc: Bug fix
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r--sql/opt_range.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index 9c546c99057..80f1e52954c 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -2153,7 +2153,7 @@ check_quick_keys(PARAM *param,uint idx,SEL_ARG *key_tree,
if (tmp_min_flag & GEOM_FLAG)
{
tmp= param->table->file->
- records_in_range((int) keynr, (byte*)(param->min_key + 1),
+ records_in_range((int) keynr, (byte*)(param->min_key),
min_key_length,
(ha_rkey_function)(tmp_min_flag ^ GEOM_FLAG),
(byte *)NullS, 0, HA_READ_KEY_EXACT);