diff options
author | Alexander Barkov <bar@mariadb.com> | 2020-03-18 17:14:07 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2020-03-18 17:14:07 +0400 |
commit | 68f390e598e71e52a3695dada12d1347892f2028 (patch) | |
tree | d4af8533b1ff40947baae033a72fba047e70563f /sql/privilege.h | |
parent | 305cffebaba7a81fcc12f0c7511ffe639cb9b0d2 (diff) | |
download | mariadb-git-68f390e598e71e52a3695dada12d1347892f2028.tar.gz |
MDEV-21973 Bind REPLICATION {MASTER|SLAVE} ADMIN to gtid_* GLOBAL-only system variables
Diffstat (limited to 'sql/privilege.h')
-rw-r--r-- | sql/privilege.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sql/privilege.h b/sql/privilege.h index 14750e001e0..bc302abbec7 100644 --- a/sql/privilege.h +++ b/sql/privilege.h @@ -485,6 +485,9 @@ constexpr privilege_t PRIV_SET_SYSTEM_GLOBAL_VAR_RPL_SEMI_SYNC_MASTER_WAIT_POINT constexpr privilege_t PRIV_SET_SYSTEM_GLOBAL_VAR_MASTER_VERIFY_CHECKSUM= REPL_MASTER_ADMIN_ACL | SUPER_ACL; +constexpr privilege_t PRIV_SET_SYSTEM_GLOBAL_VAR_GTID_BINLOG_STATE= + REPL_MASTER_ADMIN_ACL | SUPER_ACL; + /* Privileges for statements that are executed on the slave */ // Was SUPER_ACL prior to 10.5.2 @@ -572,6 +575,17 @@ constexpr privilege_t PRIV_SET_SYSTEM_GLOBAL_VAR_SYNC_RELAY_LOG= constexpr privilege_t PRIV_SET_SYSTEM_GLOBAL_VAR_SYNC_RELAY_LOG_INFO= REPL_SLAVE_ADMIN_ACL | SUPER_ACL; +constexpr privilege_t PRIV_SET_SYSTEM_GLOBAL_VAR_GTID_CLEANUP_BATCH_SIZE= + REPL_SLAVE_ADMIN_ACL | SUPER_ACL; +constexpr privilege_t PRIV_SET_SYSTEM_GLOBAL_VAR_GTID_IGNORE_DUPLICATES= + REPL_SLAVE_ADMIN_ACL | SUPER_ACL; +constexpr privilege_t PRIV_SET_SYSTEM_GLOBAL_VAR_GTID_POS_AUTO_ENGINES= + REPL_SLAVE_ADMIN_ACL | SUPER_ACL; +constexpr privilege_t PRIV_SET_SYSTEM_GLOBAL_VAR_GTID_SLAVE_POS= + REPL_SLAVE_ADMIN_ACL | SUPER_ACL; +constexpr privilege_t PRIV_SET_SYSTEM_GLOBAL_VAR_GTID_STRICT_MODE= + REPL_SLAVE_ADMIN_ACL | SUPER_ACL; + /* Privileges for federated database related statements */ // Was SUPER_ACL prior to 10.5.2 |