diff options
author | Sergey Glukhov <sergey.glukhov@oracle.com> | 2010-11-23 13:18:47 +0300 |
---|---|---|
committer | Sergey Glukhov <sergey.glukhov@oracle.com> | 2010-11-23 13:18:47 +0300 |
commit | 7704e3c2c200d479ced1c943efb9cf9575493091 (patch) | |
tree | 5a7ec422ba91a7e2059bf3660b7d0f191368bf23 /libmysql/errmsg.c | |
parent | e1923f51e555b867f0069ac387b934c64c8b9810 (diff) | |
download | mariadb-git-7704e3c2c200d479ced1c943efb9cf9575493091.tar.gz |
Bug#56862 Execution of a query that uses index merge returns a wrong result
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.
Diffstat (limited to 'libmysql/errmsg.c')
0 files changed, 0 insertions, 0 deletions