diff options
author | Alexander Barkov <bar@mariadb.com> | 2020-03-18 20:15:53 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2020-03-18 20:16:34 +0400 |
commit | e0eacbee77fd56255d1073d7cb3e738b7de0285c (patch) | |
tree | 7b2a3afdcdfc6d95b616d2f643b77bd03af5353f /sql/sql_yacc.yy | |
parent | d126c40107f9b58efcdb7dabb812b4d6b22f43f0 (diff) | |
download | mariadb-git-e0eacbee77fd56255d1073d7cb3e738b7de0285c.tar.gz |
MDEV-21975 Add BINLOG REPLAY privilege and bind new privileges to gtid_seq_no, preudo_thread_id, server_id, gtid_domain_id
Diffstat (limited to 'sql/sql_yacc.yy')
-rw-r--r-- | sql/sql_yacc.yy | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy index e49a82dab80..cf9d11efe08 100644 --- a/sql/sql_yacc.yy +++ b/sql/sql_yacc.yy @@ -1013,6 +1013,7 @@ End SQL_MODE_ORACLE_SPECIFIC */ %token <kwd> REORGANIZE_SYM %token <kwd> REPAIR %token <kwd> REPEATABLE_SYM /* SQL-2003-N */ +%token <kwd> REPLAY_SYM /* MariaDB privilege */ %token <kwd> REPLICATION %token <kwd> RESET_SYM %token <kwd> RESTART_SYM @@ -15678,6 +15679,7 @@ keyword_sp_var_and_label: | RELOAD | REORGANIZE_SYM | REPEATABLE_SYM + | REPLAY_SYM | REPLICATION | RESOURCES | RESTART_SYM @@ -16942,6 +16944,7 @@ object_privilege: | READ_ONLY_SYM ADMIN_SYM { $$= READ_ONLY_ADMIN_ACL; } | BINLOG_SYM MONITOR_SYM { $$= BINLOG_MONITOR_ACL; } | BINLOG_SYM ADMIN_SYM { $$= BINLOG_ADMIN_ACL; } + | BINLOG_SYM REPLAY_SYM { $$= BINLOG_REPLAY_ACL; } | REPLICATION MASTER_SYM ADMIN_SYM { $$= REPL_MASTER_ADMIN_ACL; } | REPLICATION SLAVE ADMIN_SYM { $$= REPL_SLAVE_ADMIN_ACL; } ; |