mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fix for BUG#12720: In QUICK_RANGE_SELECT::reset(), reset in_range so next get_next() call
doesn't continue reading the last range. mysql-test/r/index_merge_innodb.result: Testcase for BUG#12720 mysql-test/t/index_merge_innodb.test: Testcase for BUG#12720
This commit is contained in:
@ -6043,6 +6043,7 @@ int QUICK_RANGE_SELECT::reset()
|
||||
DBUG_ENTER("QUICK_RANGE_SELECT::reset");
|
||||
next=0;
|
||||
range= NULL;
|
||||
in_range= FALSE;
|
||||
cur_range= (QUICK_RANGE**) ranges.buffer;
|
||||
|
||||
if (file->inited == handler::NONE && (error= file->ha_index_init(index)))
|
||||
|
Reference in New Issue
Block a user