summaryrefslogtreecommitdiff
path: root/mysql-test/r/optimizer_switch.result
diff options
context:
space:
mode:
authorunknown <timour@askmonty.org>2011-10-04 23:57:46 +0300
committerunknown <timour@askmonty.org>2011-10-04 23:57:46 +0300
commitf40f0ff679471948a6366ddfad9377b83abdf345 (patch)
treeb9107276d853be5816c051f9bbcb94ee9ac343b9 /mysql-test/r/optimizer_switch.result
parent1c47e1ca0d9b2753b2f447df9efad2d14fbba74b (diff)
downloadmariadb-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