summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
diff options
context:
space:
mode:
authorMartin Hansson <mhansson@mysql.com>2009-06-16 10:34:32 +0200
committerMartin Hansson <mhansson@mysql.com>2009-06-16 10:34:32 +0200
commit5d44b2f3a529abe41da158b3d9230d8ba5d4387c (patch)
tree6e412cac8dd20aec02bdbe2b2f8ed6425fa649de /sql/opt_range.cc
parent3cc3aa7d70ccffe701f378a6a9f21b1ee02dabc2 (diff)
parentf2448c93d6fc159d8e450539e120066396c44596 (diff)
downloadmariadb-git-5d44b2f3a529abe41da158b3d9230d8ba5d4387c.tar.gz
Merge
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 d5463413c9b..e3aef02637f 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -8556,7 +8556,7 @@ int QUICK_RANGE_SELECT::get_next_prefix(uint prefix_length,
result= file->read_range_first(last_range->min_keypart_map ? &start_key : 0,
last_range->max_keypart_map ? &end_key : 0,
test(last_range->flag & EQ_RANGE),
- sorted);
+ TRUE);
if (last_range->flag == (UNIQUE_RANGE | EQ_RANGE))
last_range= 0; // Stop searching