mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 10:31:54 +01:00
46386661a2
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.
5 lines
136 B
Text
5 lines
136 B
Text
SET GLOBAL wsrep_on=ON;
|
|
SHOW GLOBAL STATUS LIKE 'wsrep_cluster_size';
|
|
Variable_name Value
|
|
wsrep_cluster_size 0
|
|
SET GLOBAL wsrep_on=OFF;
|