mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
cf0cc723aa
In case of low memory sort buffer QUICK_INDEX_MERGE_SELECT creates temporary file where is stores row ids which meet QUICK_SELECT ranges except of clustered pk range, clustered range is processed separately. In init_read_record we check if temporary file is used and choose appropriate record access method. It does not take into account that temporary file contains partial result in case of QUICK_INDEX_MERGE_SELECT with clustered pk range. The fix is always to use rr_quick if QUICK_INDEX_MERGE_SELECT with clustered pk range is used. mysql-test/suite/innodb/r/innodb_mysql.result: test case mysql-test/suite/innodb/t/innodb_mysql.test: test case mysql-test/suite/innodb_plugin/r/innodb_mysql.result: test case mysql-test/suite/innodb_plugin/t/innodb_mysql.test: test case sql/opt_range.h: added new method sql/records.cc: The fix is always to use rr_quick if QUICK_INDEX_MERGE_SELECT with clustered pk range is used. |
||
---|---|---|
.. | ||
binlog | ||
bugs | ||
engines | ||
federated | ||
funcs_1 | ||
funcs_2 | ||
im | ||
innodb | ||
innodb_plugin | ||
jp | ||
large_tests | ||
manual | ||
ndb | ||
ndb_team | ||
parts | ||
rpl | ||
rpl_ndb | ||
stress | ||
sys_vars |