diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2010-07-16 12:58:24 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2010-07-16 12:58:24 +0400 |
commit | 13058d8056cea616a39f82d18d1ab061cbbf0bcb (patch) | |
tree | 1fde269708463bbe4f91090d6d073e1a78053bf3 /mysql-test/r/subselect_no_opts.result | |
parent | 4274e9b5d4c8998e8c47fc7d322d0cdb2210cfe5 (diff) | |
download | mariadb-git-13058d8056cea616a39f82d18d1ab061cbbf0bcb.tar.gz |
Fix @@optimizer_switch support
- Let "mysqld --help --verbose" list all optimizer options
- Make it possible to add new @@optimizer_switch flags w/o causing .result
changes all over the testsuite:
= Remove "select @@optimizer_switch" from tests that do not need all switches
= Move @@optimizer_switch-specific tests to t/optimizer_switch.test
Diffstat (limited to 'mysql-test/r/subselect_no_opts.result')
-rw-r--r-- | mysql-test/r/subselect_no_opts.result | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/mysql-test/r/subselect_no_opts.result b/mysql-test/r/subselect_no_opts.result index 5ad1f2b714c..1b04c836560 100644 --- a/mysql-test/r/subselect_no_opts.result +++ b/mysql-test/r/subselect_no_opts.result @@ -1,6 +1,3 @@ -show variables like 'optimizer_switch'; -Variable_name Value -optimizer_switch index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_condition_pushdown=on,firstmatch=on,loosescan=on,materialization=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on set optimizer_switch='materialization=off,semijoin=off'; drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t11,t12; set @save_optimizer_switch=@@optimizer_switch; @@ -4925,6 +4922,3 @@ DROP TABLE t3; DROP TABLE t2; DROP TABLE t1; set optimizer_switch=default; -show variables like 'optimizer_switch'; -Variable_name Value -optimizer_switch index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_condition_pushdown=on,firstmatch=on,loosescan=on,materialization=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on |