mirror of
https://github.com/MariaDB/server.git
synced 2025-05-07 04:01:59 +03:00
We need to release global system variables mutex before doing wsrep_init to avoid race with next show status and we need to save wsrep_on value as it is changed on wsrep_init. Added test case.
6 lines
136 B
Plaintext
6 lines
136 B
Plaintext
SET GLOBAL wsrep_on=ON;
|
|
SHOW GLOBAL STATUS LIKE 'wsrep_cluster_size';
|
|
Variable_name Value
|
|
wsrep_cluster_size 0
|
|
SET GLOBAL wsrep_on=OFF;
|