summaryrefslogtreecommitdiff
path: root/mysql-test/include/explain_utils.inc
diff options
context:
space:
mode:
authorLena Startseva <lena.startseva@mariadb.com>2022-06-09 10:32:51 +0700
committerLena Startseva <lena.startseva@mariadb.com>2022-09-12 16:01:18 +0700
commit8aa98565a5d4e6b69d3f19833c02ed176fe38c1c (patch)
tree2c53d43ebe3bcb356319f00561441e80ab57769b /mysql-test/include/explain_utils.inc
parent99d5306350dc492ad843e806ca8a9d46f5a709d2 (diff)
downloadmariadb-git-bb-10.3-MDEV-27691.tar.gz
MDEV-27691: make working view-protocolbb-10.3-MDEV-27691
Tests with checking metadata or that cannot be run with the view-protocol are excluded from --view-protocol. For tests that do not allow the use of an additional connection, the util connection is disabled with "--disable_service_connection". Also cases with bugs for --view-protocol are disabled.
Diffstat (limited to 'mysql-test/include/explain_utils.inc')
-rw-r--r--mysql-test/include/explain_utils.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/include/explain_utils.inc b/mysql-test/include/explain_utils.inc
index 505798e432a..4333319c364 100644
--- a/mysql-test/include/explain_utils.inc
+++ b/mysql-test/include/explain_utils.inc
@@ -26,7 +26,7 @@
--echo # query: $query
--echo # select: $select
--echo #
-
+--disable_view_protocol
if ($select) {
--disable_query_log
--eval $select INTO OUTFILE '$MYSQLTEST_VARDIR/tmp/before_explain.txt'
@@ -159,3 +159,4 @@ SHOW STATUS WHERE (Variable_name LIKE 'Sort%' OR
--enable_query_log
--echo
+--enable_view_protocol