summaryrefslogtreecommitdiff
path: root/mysql-test/t/subselect_no_scache.test
blob: a8ff559b82b2260d9ec541b09285768a25c93712 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 
# Run subselect.test without semi-join optimization (test materialize)
#
select @@optimizer_switch like '%subquery_cache=on%';
set optimizer_switch='subquery_cache=off';

set join_cache_level=1;
set @join_cache_level_for_subselect_test=@@join_cache_level;

--source t/subselect.test

set optimizer_switch=default;
select @@optimizer_switch like '%subquery_cache=on%';
set @join_cache_level_for_subselect_test=NULL;