diff options
author | Lena Startseva <lena.startseva@mariadb.com> | 2022-02-10 16:04:44 +0700 |
---|---|---|
committer | Lena Startseva <lena.startseva@mariadb.com> | 2022-02-16 13:06:23 +0700 |
commit | 6c3f1f661c6df622a9dc39d59e9a48e6709a6d44 (patch) | |
tree | 4480951625e4512bc95e0a84466c94e4875b46a5 /mysql-test/include/have_view_protocol.inc | |
parent | e928fdbff1369036694320ee13b99d13fe6a3b60 (diff) | |
download | mariadb-git-6c3f1f661c6df622a9dc39d59e9a48e6709a6d44.tar.gz |
MDEV-27691: make working view-protocol
Added ability to disable/enable (--disable_view_protocol/--enable_view_protocol) view-protocol in tests.
When the option "--disable_view_protocol" is used util connections are closed.
Added new test for checking view-protocol
Diffstat (limited to 'mysql-test/include/have_view_protocol.inc')
-rw-r--r-- | mysql-test/include/have_view_protocol.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/include/have_view_protocol.inc b/mysql-test/include/have_view_protocol.inc new file mode 100644 index 00000000000..6b1436a7a7a --- /dev/null +++ b/mysql-test/include/have_view_protocol.inc @@ -0,0 +1,6 @@ +# The file with expected results fits only to a run with +# view-protocol. +if (`SELECT $VIEW_PROTOCOL = 0`) +{ + --skip Test requires view-protocol +}
\ No newline at end of file |