1
0
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:
unknown
2005-08-30 03:14:39 +04:00
parent 9b01c0063d
commit 476843eff6
3 changed files with 143 additions and 0 deletions

View File

@ -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)))