mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
15 lines
417 B
Text
15 lines
417 B
Text
#
|
|
# 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 subselect.test
|
|
|
|
set optimizer_switch=default;
|
|
select @@optimizer_switch like '%subquery_cache=on%';
|
|
set @join_cache_level_for_subselect_test=NULL;
|
|
|