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

for table elimination in debug builds.
This commit is contained in:
Sergey Petrunya 2010-02-21 09:33:54 +02:00
commit 3ffa889184
9 changed files with 36 additions and 22 deletions

View file

@ -1,11 +1,13 @@
#
# Run subselect.test without semi-join optimization (test materialize)
#
--replace_regex /,table_elimination=on//
show variables like 'optimizer_switch';
set optimizer_switch='semijoin=off';
--source t/subselect.test
set optimizer_switch=default;
--replace_regex /,table_elimination=on//
show variables like 'optimizer_switch';