diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2011-11-02 13:48:41 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2011-11-02 13:48:41 +0400 |
commit | 47861a657762feeb45ee6b8edea00033bbd0e8ca (patch) | |
tree | 060d07487e32539e3edc12f1b5122969d112c6d6 /mysql-test/r/subselect_nulls.result | |
parent | 64986873252e6c4fff867407d1b2f92abe24ca88 (diff) | |
download | mariadb-git-47861a657762feeb45ee6b8edea00033bbd0e8ca.tar.gz |
Change the default @@optimizer_switch settings:
- semijoin=on
- firstmatch=on
- loosescan=on
Diffstat (limited to 'mysql-test/r/subselect_nulls.result')
-rw-r--r-- | mysql-test/r/subselect_nulls.result | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/r/subselect_nulls.result b/mysql-test/r/subselect_nulls.result index 1ae8c9f6237..584c184870d 100644 --- a/mysql-test/r/subselect_nulls.result +++ b/mysql-test/r/subselect_nulls.result @@ -1,5 +1,7 @@ drop table if exists x1; drop table if exists x2; +set @tmp_subselect_nulls=@@optimizer_switch; +set optimizer_switch='semijoin=off'; create table x1(k int primary key, d1 int, d2 int); create table x2(k int primary key, d1 int, d2 int); insert into x1 values @@ -110,5 +112,6 @@ where x1.d1=x2.d1 and x1.d2=x2.d2); k d1 d2 10 10 10 20 20 20 +set optimizer_switch= @tmp_subselect_nulls; drop table x1; drop table x2; |