mariadb/mysql-test/main/subselect_no_scache.test

16 lines
417 B
Text
Raw Normal View History

#
# Run subselect.test without semi-join optimization (test materialize)
#
select @@optimizer_switch like '%subquery_cache=on%';
2011-10-05 17:18:00 +02:00
set optimizer_switch='subquery_cache=off';
2011-12-15 23:26:59 +01:00
set join_cache_level=1;
set @join_cache_level_for_subselect_test=@@join_cache_level;
--source subselect.test
set optimizer_switch=default;
select @@optimizer_switch like '%subquery_cache=on%';
2011-12-15 23:26:59 +01:00
set @join_cache_level_for_subselect_test=NULL;