mirror of
https://github.com/MariaDB/server.git
synced 2025-02-05 13:22:17 +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.
10 lines
276 B
Text
10 lines
276 B
Text
#
|
|
# Check SHOW GLOBAL STATUS after dynamic setting WSREP=ON
|
|
#
|
|
--source include/have_innodb.inc
|
|
--source include/have_wsrep_provider.inc
|
|
--source include/have_binlog_format_row.inc
|
|
|
|
SET GLOBAL wsrep_on=ON;
|
|
SHOW GLOBAL STATUS LIKE 'wsrep_cluster_size';
|
|
SET GLOBAL wsrep_on=OFF;
|