summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-08-14 10:11:30 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2019-08-14 10:32:52 +0300
commitd7be886cb8e43b2df8ad5d01f7ba91f0296057cd (patch)
treed5ecffe99d26da3cafe95b91e69470cb6dbe50da
parentc4fd167d5a740f67ee5287a9b05b5383403b9ed0 (diff)
downloadmariadb-git-d7be886cb8e43b2df8ad5d01f7ba91f0296057cd.tar.gz
Fix main.opt_trace
This was broken in 2dbe472ed011a951b28434ae8e67945e964d2030
-rw-r--r--mysql-test/main/opt_trace.result1
-rw-r--r--mysql-test/main/opt_trace.test1
2 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/main/opt_trace.result b/mysql-test/main/opt_trace.result
index 87e4d41a395..e315b0212f7 100644
--- a/mysql-test/main/opt_trace.result
+++ b/mysql-test/main/opt_trace.result
@@ -6983,4 +6983,5 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.considered_execution_plans'))
}
]
]
+drop table t0, one_k;
set optimizer_trace='enabled=off';
diff --git a/mysql-test/main/opt_trace.test b/mysql-test/main/opt_trace.test
index 503e92057af..e5d635db042 100644
--- a/mysql-test/main/opt_trace.test
+++ b/mysql-test/main/opt_trace.test
@@ -534,5 +534,6 @@ set join_cache_level=@tmp_jcl;
--echo # This shows post-join selectivity
explain select * from t0 A, one_k B where A.a=B.b and B.a<800;
select JSON_DETAILED(JSON_EXTRACT(trace, '$**.considered_execution_plans')) from INFORMATION_SCHEMA.OPTIMIZER_TRACE;
+drop table t0, one_k;
set optimizer_trace='enabled=off';