diff --git a/mysql-test/main/grant.result b/mysql-test/main/grant.result index 671b6dc4247abb6959535edef27c6f730b408c28..92073388b69031f6a8220da8fe7cdbe53c014a89 100644 --- a/mysql-test/main/grant.result +++ b/mysql-test/main/grant.result @@ -623,6 +623,7 @@ References Databases,Tables To have references on tables Reload Server Admin To reload or refresh tables, logs and privileges Binlog admin Server To purge binary logs Binlog monitor Server To use SHOW BINLOG STATUS and SHOW BINARY LOG +Binlog replay Server To use BINLOG (generated by mariadb-binlog) Replication master admin Server To monitor connected slaves Replication slave admin Server To start/stop slave and apply binlog events Slave monitor Server To use SHOW SLAVE STATUS and SHOW RELAYLOG EVENTS diff --git a/sql/sql_show.cc b/sql/sql_show.cc index ae65cceb1fbe653322973cc01e1f1e431a4a69e8..4c5e877cce8006b5d4e9761adba4d045ce6a0d37 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -483,6 +483,7 @@ static struct show_privileges_st sys_privileges[]= {"Reload", "Server Admin", "To reload or refresh tables, logs and privileges"}, {"Binlog admin", "Server", "To purge binary logs"}, {"Binlog monitor", "Server", "To use SHOW BINLOG STATUS and SHOW BINARY LOG"}, + {"Binlog replay", "Server", "To use BINLOG (generated by mariadb-binlog)"}, {"Replication master admin", "Server", "To monitor connected slaves"}, {"Replication slave admin", "Server", "To start/stop slave and apply binlog events"}, {"Slave monitor", "Server", "To use SHOW SLAVE STATUS and SHOW RELAYLOG EVENTS"},