summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/wsrep/t/mdev_7798.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/wsrep/t/mdev_7798.test')
-rw-r--r--mysql-test/suite/wsrep/t/mdev_7798.test18
1 files changed, 18 insertions, 0 deletions
diff --git a/mysql-test/suite/wsrep/t/mdev_7798.test b/mysql-test/suite/wsrep/t/mdev_7798.test
new file mode 100644
index 00000000..b9938d93
--- /dev/null
+++ b/mysql-test/suite/wsrep/t/mdev_7798.test
@@ -0,0 +1,18 @@
+--source include/have_innodb.inc
+--source include/have_wsrep_provider.inc
+--source include/have_binlog_format_row.inc
+
+--echo #
+--echo # MDEV-7798: mysql.server init script can't stop mysqld when WSREP is
+--echo # turned off
+--echo #
+
+SELECT @@GLOBAL.WSREP_ON;
+SET GLOBAL WSREP_ON= 0;
+
+--echo Restart the node.
+--source include/restart_mysqld.inc
+
+SELECT @@GLOBAL.WSREP_ON;
+
+--echo # End of test.