summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2020-11-27 18:23:59 +0200
committerMonty <monty@mariadb.org>2020-11-30 15:02:33 +0200
commit37352c4b554a46895cd725ab17c9397724a43757 (patch)
treea7f8da45d400ba61202f3609914e79a2e6d48142
parent1ccd1daaff50c18c74975517de7c258e846a3056 (diff)
downloadmariadb-git-37352c4b554a46895cd725ab17c9397724a43757.tar.gz
Disable mysqldump-system.test if auth socket plugin is not dynamic
-rw-r--r--mysql-test/t/mysqldump-system.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/mysqldump-system.test b/mysql-test/t/mysqldump-system.test
index 1fc0a45b3dc..3efe8376e18 100644
--- a/mysql-test/t/mysqldump-system.test
+++ b/mysql-test/t/mysqldump-system.test
@@ -3,6 +3,10 @@
--source include/have_udf.inc
--source include/platform.inc
+if (!$AUTH_SOCKET_SO) {
+ --skip Need auth socket plugin
+}
+
--echo #
--echo # MDEV-23630: mysqldump to logically dump system tables
--echo #
@@ -18,6 +22,7 @@ create user USER;
if (`SELECT CONVERT(@@VERSION_COMPILE_OS USING latin1) NOT IN ('Win32', 'Win64', 'Windows')`)
{
+--error 0,ER_PLUGIN_INSTALLED
--eval install plugin /*M!100401 IF NOT EXISTS */ unix_socket soname '$AUTH_SOCKET_SO';
alter user USER identified via unix_socket;
}