Commit 0cf5145d authored by Sergey Petrunya's avatar Sergey Petrunya

Fix buildbot failure: take into account that there is no optimizer_switch flag

for table elimination in debug builds.
(part 2)
parent 3ffa8891
...@@ -202,7 +202,7 @@ BUG#37120 optimizer_switch allowable values not according to specification ...@@ -202,7 +202,7 @@ BUG#37120 optimizer_switch allowable values not according to specification
select @@optimizer_switch; select @@optimizer_switch;
@@optimizer_switch @@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,table_elimination=on 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
set optimizer_switch='default,materialization=off'; set optimizer_switch='default,materialization=off';
select @@optimizer_switch; select @@optimizer_switch;
@@optimizer_switch @@optimizer_switch
......
...@@ -206,7 +206,7 @@ BUG#37120 optimizer_switch allowable values not according to specification ...@@ -206,7 +206,7 @@ BUG#37120 optimizer_switch allowable values not according to specification
select @@optimizer_switch; select @@optimizer_switch;
@@optimizer_switch @@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,table_elimination=on 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
set optimizer_switch='default,materialization=off'; set optimizer_switch='default,materialization=off';
select @@optimizer_switch; select @@optimizer_switch;
@@optimizer_switch @@optimizer_switch
......
...@@ -96,6 +96,7 @@ explain extended select * from t1 where a in (select pk from t10 where pk<3); ...@@ -96,6 +96,7 @@ explain extended select * from t1 where a in (select pk from t10 where pk<3);
--echo BUG#37120 optimizer_switch allowable values not according to specification --echo BUG#37120 optimizer_switch allowable values not according to specification
--echo --echo
--replace_regex /,table_elimination=on//
select @@optimizer_switch; select @@optimizer_switch;
set optimizer_switch='default,materialization=off'; set optimizer_switch='default,materialization=off';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment