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:
committed by
Nirbhay Choubey
parent
fbe739cbb1
commit
5d531f07bf
@@ -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
|
||||
|
@@ -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;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user