summaryrefslogtreecommitdiff
path: root/sql/filesort.cc
diff options
context:
space:
mode:
authorunknown <mskold@mysql.com>2005-01-07 15:31:29 +0100
committerunknown <mskold@mysql.com>2005-01-07 15:31:29 +0100
commit2a203aca4929a827d886c1a561a5aabe282f633d (patch)
tree704d25ad21e2260522a3844ba1e27240629ca9d7 /sql/filesort.cc
parent8487643250f2bd15c0dbee20bf174998ce8dc6d3 (diff)
downloadmariadb-git-2a203aca4929a827d886c1a561a5aabe282f633d.tar.gz
Removed unecessary call to handler::reset()
Diffstat (limited to 'sql/filesort.cc')
-rw-r--r--sql/filesort.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/sql/filesort.cc b/sql/filesort.cc
index 569ae3da357..59e2491a7a2 100644
--- a/sql/filesort.cc
+++ b/sql/filesort.cc
@@ -420,9 +420,6 @@ static ha_rows find_all_keys(SORTPARAM *param, SQL_SELECT *select,
next_pos=ref_pos;
if (! indexfile && ! quick_select)
{
- file->reset(); // QQ; Shouldn't be needed
- if (sort_form->key_read) // QQ Can be removed after the reset
- file->extra(HA_EXTRA_KEYREAD); // QQ is removed
next_pos=(byte*) 0; /* Find records in sequence */
file->ha_rnd_init(1);
file->extra_opt(HA_EXTRA_CACHE,