From 3f619478f796eddbba6e39502fe941b285dd97b1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 20:00:34 +0200 Subject: Adding upstream version 1:10.11.6. Signed-off-by: Daniel Baumann --- mysql-test/main/subselect_no_mat.test | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 mysql-test/main/subselect_no_mat.test (limited to 'mysql-test/main/subselect_no_mat.test') diff --git a/mysql-test/main/subselect_no_mat.test b/mysql-test/main/subselect_no_mat.test new file mode 100644 index 00000000..173dd104 --- /dev/null +++ b/mysql-test/main/subselect_no_mat.test @@ -0,0 +1,17 @@ +# +# Run subselect.test without semi-join optimization (test materialize) +# +select @@optimizer_switch like '%materialization=on%'; +set optimizer_switch='materialization=off'; +set optimizer_switch='mrr=on,mrr_sort_keys=on,index_condition_pushdown=on'; + +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 '%materialization=on%'; +set @join_cache_level_for_subselect_test=NULL; + + -- cgit v1.2.3