mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
added replication of VIEW DDL commands (BUG#4838)
This commit is contained in:
@ -5516,6 +5516,9 @@ void fill_effective_table_privileges(THD *thd, GRANT_INFO *grant,
|
||||
/* global privileges */
|
||||
grant->privilege= thd->master_access;
|
||||
|
||||
if (!thd->priv_user)
|
||||
return; // it is slave
|
||||
|
||||
/* db privileges */
|
||||
grant->privilege|= acl_get(thd->host, thd->ip, thd->priv_user, db, 0);
|
||||
|
||||
|
Reference in New Issue
Block a user