mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge 5.5->mwl248
This commit is contained in:
@ -10943,6 +10943,13 @@ int QUICK_RANGE_SELECT::reset()
|
||||
DBUG_ENTER("QUICK_RANGE_SELECT::reset");
|
||||
last_range= NULL;
|
||||
cur_range= (QUICK_RANGE**) ranges.buffer;
|
||||
|
||||
if (file->inited == handler::RND)
|
||||
{
|
||||
/* Handler could be left in this state by MRR */
|
||||
if ((error= file->ha_rnd_end()))
|
||||
DBUG_RETURN(error);
|
||||
}
|
||||
|
||||
if (file->inited == handler::NONE)
|
||||
{
|
||||
|
Reference in New Issue
Block a user