1
0
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:
bell@sanja.is.com.ua
2005-01-17 01:18:08 +02:00
parent 045aea9d92
commit a7d0eaae7c
4 changed files with 103 additions and 2 deletions

View File

@ -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);