diff options
author | Alexander Barkov <bar@mariadb.com> | 2020-03-18 13:27:38 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2020-03-18 13:27:38 +0400 |
commit | 36b0b302f26f59770ae12ad528e6f56c78083f4c (patch) | |
tree | ade54c25e46ec8d48398888daf6c26fae7414b4e /sql/sys_vars.cc | |
parent | 1ddc1fc305e53549fa972bf3a5e76799c00e7852 (diff) | |
download | mariadb-git-36b0b302f26f59770ae12ad528e6f56c78083f4c.tar.gz |
MDEV-21972 Bind REPLICATION MASTER ADMIN to master_verify_checksum
Diffstat (limited to 'sql/sys_vars.cc')
-rw-r--r-- | sql/sys_vars.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc index 924cf914520..ff9dbcc8c49 100644 --- a/sql/sys_vars.cc +++ b/sql/sys_vars.cc @@ -3294,7 +3294,9 @@ Sys_slave_sql_verify_checksum( GLOBAL_VAR(opt_slave_sql_verify_checksum), CMD_LINE(OPT_ARG), DEFAULT(TRUE)); -static Sys_var_mybool Sys_master_verify_checksum( +static Sys_var_on_access_global<Sys_var_mybool, + PRIV_SET_SYSTEM_GLOBAL_VAR_MASTER_VERIFY_CHECKSUM> +Sys_master_verify_checksum( "master_verify_checksum", "Force checksum verification of logged events in the binary log before " "sending them to slaves or printing them in the output of " |