mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 07:35:32 +02:00
Change the default @@optimizer_switch setting from
semijoin=on,firstmatch=on,loosescan=on to semijoin=off,firstmatch=off,loosescan=off Adjust the testcases: - Modify subselect*.test and join_cache.test so that all tests use the same execution paths as before (i.e. optimizations that are being tested are enabled) - Let all other test files run with the new default settings (i.e. with new optimizations disabled) - Copy subquery testcases from these files into t/subselect_extra.test which will run them with new optimizations enabled.
This commit is contained in:
parent
3984062ba4
commit
c1de6f8b77
40 changed files with 266 additions and 168 deletions
|
|
@ -615,10 +615,7 @@ enabled by default, add OPTIMIZER_SWITCH_MATERIALIZATION
|
|||
OPTIMIZER_SWITCH_INDEX_COND_PUSHDOWN | \
|
||||
OPTIMIZER_SWITCH_DERIVED_MERGE | \
|
||||
OPTIMIZER_SWITCH_DERIVED_WITH_KEYS | \
|
||||
OPTIMIZER_SWITCH_FIRSTMATCH | \
|
||||
OPTIMIZER_SWITCH_LOOSE_SCAN | \
|
||||
OPTIMIZER_SWITCH_IN_TO_EXISTS | \
|
||||
OPTIMIZER_SWITCH_SEMIJOIN | \
|
||||
OPTIMIZER_SWITCH_PARTIAL_MATCH_ROWID_MERGE|\
|
||||
OPTIMIZER_SWITCH_PARTIAL_MATCH_TABLE_SCAN|\
|
||||
OPTIMIZER_SWITCH_SUBQUERY_CACHE|\
|
||||
|
|
@ -638,10 +635,7 @@ enabled by default, add OPTIMIZER_SWITCH_MATERIALIZATION
|
|||
OPTIMIZER_SWITCH_DERIVED_MERGE | \
|
||||
OPTIMIZER_SWITCH_DERIVED_WITH_KEYS | \
|
||||
OPTIMIZER_SWITCH_TABLE_ELIMINATION | \
|
||||
OPTIMIZER_SWITCH_FIRSTMATCH | \
|
||||
OPTIMIZER_SWITCH_LOOSE_SCAN | \
|
||||
OPTIMIZER_SWITCH_IN_TO_EXISTS | \
|
||||
OPTIMIZER_SWITCH_SEMIJOIN | \
|
||||
OPTIMIZER_SWITCH_PARTIAL_MATCH_ROWID_MERGE|\
|
||||
OPTIMIZER_SWITCH_PARTIAL_MATCH_TABLE_SCAN|\
|
||||
OPTIMIZER_SWITCH_SUBQUERY_CACHE|\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue