summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2004-08-24 12:58:21 +0500
committerunknown <hf@deer.(none)>2004-08-24 12:58:21 +0500
commit8854eeda26f9b703adca3b4a6a4c072a96d888ce (patch)
treecd83dafc2f55e4a0acffa4a2273ae67c5b9dc9f3 /sql
parent8d9dca16e2a190017d99398144d7d4343471a72b (diff)
parentac4c0538529c0bf351d116b0b9d2c58c7fc3bc35 (diff)
downloadmariadb-git-8854eeda26f9b703adca3b4a6a4c072a96d888ce.tar.gz
Merging
Diffstat (limited to 'sql')
-rw-r--r--sql/records.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/records.cc b/sql/records.cc
index 94634d30759..5a969ef9c20 100644
--- a/sql/records.cc
+++ b/sql/records.cc
@@ -101,6 +101,9 @@ void init_read_record(READ_RECORD *info,THD *thd, TABLE *table,
else if (select && select->quick)
{
DBUG_PRINT("info",("using rr_quick"));
+
+ if (!table->file->inited)
+ table->file->ha_index_init(select->quick->index);
info->read_record=rr_quick;
}
else if (table->sort.record_pointers)