summaryrefslogtreecommitdiff
path: root/sql/sys_vars.cc
diff options
context:
space:
mode:
authorVasil Dimov <vasil.dimov@galeracluster.com>2018-08-28 13:02:36 +0200
committerJan Lindström <jan.lindstrom@mariadb.com>2018-10-10 13:33:07 +0300
commit8524c81254521673bb78926cc37d77455bba792e (patch)
tree458be25019a51662b72a90f94fb376d48d92b015 /sql/sys_vars.cc
parentb47a2182f68abb2044294fbb1d6925d363eb80a5 (diff)
downloadmariadb-git-8524c81254521673bb78926cc37d77455bba792e.tar.gz
Make config knob wsrep_certification_rules dynamic
There is no reason for it to be readonly at runtime and it is dynamic in 5.6+ already.
Diffstat (limited to 'sql/sys_vars.cc')
-rw-r--r--sql/sys_vars.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc
index d0b07472894..6f6e7da531e 100644
--- a/sql/sys_vars.cc
+++ b/sql/sys_vars.cc
@@ -3895,7 +3895,7 @@ static Sys_var_enum Sys_wsrep_certification_rules(
"failures. "
"\"optimized\": relaxed rules that allow more concurrency and "
"cause less certification failures.",
- READ_ONLY GLOBAL_VAR(wsrep_certification_rules), CMD_LINE(REQUIRED_ARG),
+ GLOBAL_VAR(wsrep_certification_rules), CMD_LINE(REQUIRED_ARG),
wsrep_certification_rules_names, DEFAULT(WSREP_CERTIFICATION_RULES_STRICT),
NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(0),
ON_UPDATE(0));