mirror of
https://github.com/MariaDB/server.git
synced 2025-07-18 01:08:14 +02:00
14 lines
524 B
Text
14 lines
524 B
Text
SELECT VARIABLE_VALUE LIKE '%[::1]%' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_incoming_addresses';
|
|
VARIABLE_VALUE LIKE '%[::1]%'
|
|
1
|
|
SELECT VARIABLE_VALUE = 3 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
|
|
VARIABLE_VALUE = 3
|
|
1
|
|
SET GLOBAL wsrep_provider_options='gmcast.isolate=1';
|
|
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
|
|
INSERT INTO t1 VALUES (1);
|
|
SET GLOBAL wsrep_provider_options='gmcast.isolate=0';
|
|
SELECT COUNT(*) = 1 FROM t1;
|
|
COUNT(*) = 1
|
|
1
|
|
DROP TABLE t1;
|