summaryrefslogtreecommitdiff
path: root/sql/privilege.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2020-03-18 11:52:11 +0400
committerAlexander Barkov <bar@mariadb.com>2020-03-18 11:57:07 +0400
commit965fa626174a2ac731ff885c477928a903b83812 (patch)
tree95545b7698ed663bb071ce31014462ee497de2f0 /sql/privilege.h
parent91c6e6df049d254eae7d64b7ba20e97be4bd5edb (diff)
downloadmariadb-git-965fa626174a2ac731ff885c477928a903b83812.tar.gz
MDEV-21969 Bind REPLICATION SLAVE ADMIN to relay_log_*, sync_master_info, sync_relay_log, sync_relay_log_info
Diffstat (limited to 'sql/privilege.h')
-rw-r--r--sql/privilege.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/privilege.h b/sql/privilege.h
index 7198c04ee14..0dd3712650a 100644
--- a/sql/privilege.h
+++ b/sql/privilege.h
@@ -552,6 +552,17 @@ constexpr privilege_t PRIV_SET_SYSTEM_GLOBAL_VAR_RPL_SEMI_SYNC_SLAVE_DELAY_MASTE
constexpr privilege_t PRIV_SET_SYSTEM_GLOBAL_VAR_RPL_SEMI_SYNC_SLAVE_KILL_CONN_TIMEOUT=
REPL_SLAVE_ADMIN_ACL | SUPER_ACL;
+constexpr privilege_t PRIV_SET_SYSTEM_GLOBAL_VAR_RELAY_LOG_PURGE=
+ REPL_SLAVE_ADMIN_ACL | SUPER_ACL;
+constexpr privilege_t PRIV_SET_SYSTEM_GLOBAL_VAR_RELAY_LOG_RECOVERY=
+ REPL_SLAVE_ADMIN_ACL | SUPER_ACL;
+constexpr privilege_t PRIV_SET_SYSTEM_GLOBAL_VAR_SYNC_MASTER_INFO=
+ REPL_SLAVE_ADMIN_ACL | SUPER_ACL;
+constexpr privilege_t PRIV_SET_SYSTEM_GLOBAL_VAR_SYNC_RELAY_LOG=
+ REPL_SLAVE_ADMIN_ACL | SUPER_ACL;
+constexpr privilege_t PRIV_SET_SYSTEM_GLOBAL_VAR_SYNC_RELAY_LOG_INFO=
+ REPL_SLAVE_ADMIN_ACL | SUPER_ACL;
+
/* Privileges for federated database related statements */
// Was SUPER_ACL prior to 10.5.2