summaryrefslogtreecommitdiff
path: root/sql/records.cc
diff options
context:
space:
mode:
authorunknown <sergefp@mysql.com>2005-01-20 07:51:00 +0300
committerunknown <sergefp@mysql.com>2005-01-20 07:51:00 +0300
commit977e7336d89eee757e78e7af7bafd4c83035ee1b (patch)
treea1a756f706a5f61f681818d8850e13c8af661949 /sql/records.cc
parente63c83bd66104e172bc2133815208183f223ce2a (diff)
parent7f587fc0ce244827647bbd82ba683544dd3221ba (diff)
downloadmariadb-git-977e7336d89eee757e78e7af7bafd4c83035ee1b.tar.gz
Merge
sql/opt_range.cc: SCCS merged sql/records.cc: SCCS merged
Diffstat (limited to 'sql/records.cc')
-rw-r--r--sql/records.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/sql/records.cc b/sql/records.cc
index 9a506cadf0c..00da1ac1adc 100644
--- a/sql/records.cc
+++ b/sql/records.cc
@@ -100,19 +100,8 @@ void init_read_record(READ_RECORD *info,THD *thd, TABLE *table,
}
else if (select && select->quick)
{
- int error;
DBUG_PRINT("info",("using rr_quick"));
-
- if (!table->file->inited)
- table->file->ha_index_init(select->quick->index);
info->read_record=rr_quick;
-
- if ((error= select->quick->get_next_init()))
- {
- /* Cannot return error code here. Instead print to error log. */
- table->file->print_error(error,MYF(ME_NOREFRESH));
- thd->fatal_error();
- }
}
else if (table->sort.record_pointers)
{