mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge 10.1 into 10.2
This commit is contained in:
@ -11684,12 +11684,6 @@ void fill_effective_table_privileges(THD *thd, GRANT_INFO *grant,
|
||||
/* global privileges */
|
||||
grant->privilege= sctx->master_access;
|
||||
|
||||
if (!sctx->priv_user[0] && !sctx->priv_role[0])
|
||||
{
|
||||
DBUG_PRINT("info", ("privilege 0x%lx", grant->privilege));
|
||||
DBUG_VOID_RETURN; // it is slave
|
||||
}
|
||||
|
||||
if (!thd->db || strcmp(db, thd->db))
|
||||
{
|
||||
/* db privileges */
|
||||
|
Reference in New Issue
Block a user