diff options
author | mkaruza <mario.karuza@galeracluster.com> | 2020-12-08 10:07:45 +0100 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2021-01-26 14:02:24 +0200 |
commit | 95a2bca01f423dc97281709a7871f5901fd05c70 (patch) | |
tree | 2b7f71719e519ff17be630446ee6b9196f6cdfac /sql/wsrep_var.h | |
parent | 3f871b339429441ad907ecf7dfabdc414797e664 (diff) | |
download | mariadb-git-95a2bca01f423dc97281709a7871f5901fd05c70.tar.gz |
MDEV-20008: Galera strict modebb-10.6-MDEV-20008
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>
Diffstat (limited to 'sql/wsrep_var.h')
-rw-r--r-- | sql/wsrep_var.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/wsrep_var.h b/sql/wsrep_var.h index fb23182dbf2..ae4f39a4034 100644 --- a/sql/wsrep_var.h +++ b/sql/wsrep_var.h @@ -106,6 +106,9 @@ extern bool wsrep_debug_update UPDATE_ARGS; extern bool wsrep_gtid_seq_no_check CHECK_ARGS; extern bool wsrep_gtid_domain_id_update UPDATE_ARGS; + +extern bool wsrep_mode_check CHECK_ARGS; +extern bool wsrep_strict_ddl_update UPDATE_ARGS; #else /* WITH_WSREP */ #define wsrep_provider_init(X) |