summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/subselect_cache.test
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--mysql-test/main/subselect_cache.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/main/subselect_cache.test b/mysql-test/main/subselect_cache.test
index 1af28257..2149df2b 100644
--- a/mysql-test/main/subselect_cache.test
+++ b/mysql-test/main/subselect_cache.test
@@ -35,8 +35,10 @@ select a, (select d from t2 where b=c) from t1;
--source include/analyze-format.inc
analyze format=json
select a, (select d from t2 where b=c), (select d from t2 where b=c union select 1 order by 1 limit 1) from t1;
+--source include/explain-no-costs.inc
explain format=json
select a, (select d from t2 where b=c) from t1;
+--source include/explain-no-costs.inc
explain format=json
select a, (select d from t2 where b=c), (select d from t2 where b=c union select 1 order by 1 limit 1) from t1;
set optimizer_switch='subquery_cache=off';