mirror of
https://github.com/MariaDB/server.git
synced 2025-11-30 05:23:50 +03:00
Added new enum variable `wsrep_mode` which can be used to turn on WSREP features which are not part of default behaviour. Added enum `BINLOG_ROW_FORMAT_ONLY`, `REQUIRED_PRIMARY_KEY` and `STRICT_REPLICATION`. `wsrep-mode=STRICT_REPLICATION` behaves like variable `wsrep_strict_ddl`. Variable wsrep_strict_ddl is deprecated and if set we use new wsrep_mode setting instead. Reviewed and improved by: Jan Lindström <jan.lindstrom@mariadb.com>
14 lines
295 B
Plaintext
14 lines
295 B
Plaintext
--source include/galera_cluster.inc
|
|
|
|
SELECT @@global.wsrep_mode;
|
|
SELECT @@global.wsrep_strict_ddl;
|
|
|
|
SET @@global.wsrep_strict_ddl=ON;
|
|
SELECT @@global.wsrep_mode;
|
|
SELECT @@global.wsrep_strict_ddl;
|
|
|
|
SET @@global.wsrep_strict_ddl=OFF;
|
|
SELECT @@global.wsrep_mode;
|
|
SELECT @@global.wsrep_strict_ddl;
|
|
|