diff options
author | unknown <timour@askmonty.org> | 2011-10-04 23:57:46 +0300 |
---|---|---|
committer | unknown <timour@askmonty.org> | 2011-10-04 23:57:46 +0300 |
commit | f40f0ff679471948a6366ddfad9377b83abdf345 (patch) | |
tree | b9107276d853be5816c051f9bbcb94ee9ac343b9 /mysql-test/r/optimizer_switch.result | |
parent | 1c47e1ca0d9b2753b2f447df9efad2d14fbba74b (diff) | |
download | mariadb-git-f40f0ff679471948a6366ddfad9377b83abdf345.tar.gz |
Fix bug lp:856152
Analysis:
The cause of the bug was that the method
subselect_rowid_merge_engine::partial_match()
was not designed for re-execution within the
same query. Specifically, it didn't cleanup
the bitmap of matching keys after completion.
The test query requires double execution of
the IN predicate because it first checks the
predicate as a constant condition. The second
execution during regular execution used the bitmap
of matching keys produced by the first execution
instead of starting with a clean one.
Solution:
Cleanup the bitmap of matching keys at the end of
the partial matching procedure.
Diffstat (limited to 'mysql-test/r/optimizer_switch.result')
0 files changed, 0 insertions, 0 deletions