1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +03:00

Galera MTR Tests: Use SET GLOBAL when setting wsrep_replicate_myisam, as it is a GLOBAL variable in MySQL Galera Cluster and SESSION in Percona XTraDB Cluster

This commit is contained in:
Philip Stoev
2015-07-01 03:13:04 -07:00
committed by Nirbhay Choubey
parent fbe739cbb1
commit 5d531f07bf
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ SET GLOBAL wsrep_replicate_myisam = TRUE;
INSERT INTO mysql.user VALUES('localhost','user1',PASSWORD('pass1'), 'Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0,'mysql_native_password','','N','N');
FLUSH PRIVILEGES;
DELETE FROM mysql.user WHERE user = 'user1';
SET SESSION wsrep_replicate_myisam = FALSE;
SET GLOBAL wsrep_replicate_myisam = FALSE;
FLUSH PRIVILEGES;
FLUSH QUERY CACHE;
wsrep_last_committed_diff

View File

@@ -39,7 +39,7 @@ FLUSH PRIVILEGES;
--connect node_2a, 127.0.0.1, user1, pass1, test, $NODE_MYPORT_2
--connection node_1
DELETE FROM mysql.user WHERE user = 'user1';
SET SESSION wsrep_replicate_myisam = FALSE;
SET GLOBAL wsrep_replicate_myisam = FALSE;
FLUSH PRIVILEGES;