summaryrefslogtreecommitdiff
path: root/mysql-test/t/innodb-analyze.test
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2011-10-01 00:10:03 +0400
committerSergey Petrunya <psergey@askmonty.org>2011-10-01 00:10:03 +0400
commitf5987a0c3ef089439d400217a5784c10fd991f52 (patch)
treed31ab1abebc1342fb6f35126aae1cf8a853547f8 /mysql-test/t/innodb-analyze.test
parent134e417895f741223b2a8b68c0b674d14920d316 (diff)
downloadmariadb-git-f5987a0c3ef089439d400217a5784c10fd991f52.tar.gz
BUG#860553: Crash in create_ref_for_key with semijoin + materialization
- The problem was that JOIN::save/restore_query_plan() did not save/restore parts of the query plan that are located inside SJ_MATERIALIZATION_INFO structures. This could cause parts of one plan to be used with another, which led get_best_combination() to constructing non-sensical join plans (and crash). Fixed by saving/restoring SJM parts of the query plans. - check_and_do_in_subquery_rewrites() will not set SUBS_MATERIALIZATION flag when it records that the subquery predicate is to be converted into semi-join. If convert_join_subqueries_to_semijoins() later decides not to convert to semi-join, let it set SUBS_MATERIALIZATION flag, if appropriate.
Diffstat (limited to 'mysql-test/t/innodb-analyze.test')
0 files changed, 0 insertions, 0 deletions