mirror of
https://github.com/MariaDB/server.git
synced 2025-02-23 05:43:08 +01: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.
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;
|