diff --git a/sql/opt_range.cc b/sql/opt_range.cc index d0310bf58e5..dfd45933999 100644 --- a/sql/opt_range.cc +++ b/sql/opt_range.cc @@ -393,8 +393,8 @@ QUICK_SELECT::QUICK_SELECT(TABLE *table,uint key_nr,bool no_alloc) else bzero((char*) &alloc,sizeof(alloc)); file=head->file; - // error=file->index_init(index); record=head->record[0]; + init(); } QUICK_SELECT::~QUICK_SELECT()