1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03: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:
Sergey Petrunya
2011-07-05 01:44:15 +04:00
parent 3984062ba4
commit c1de6f8b77
40 changed files with 270 additions and 172 deletions

View File

@@ -488,11 +488,11 @@ static const char *optimizer_switch_str="index_merge=on,index_merge_union=on,"
"index_condition_pushdown=on,"
"derived_merge=on,"
"derived_with_keys=on,"
"firstmatch=on,"
"loosescan=on,"
"firstmatch=off,"
"loosescan=off,"
"materialization=off,"
"in_to_exists=on,"
"semijoin=on,"
"semijoin=off,"
"partial_match_rowid_merge=on,"
"partial_match_table_scan=on,"
"subquery_cache=on,"