mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
Back porting a fix from 4.0 at customer's request
This commit is contained in:
parent
a312e13795
commit
930ded12ca
1 changed files with 1 additions and 1 deletions
|
@ -2155,7 +2155,7 @@ check_access(THD *thd,uint want_access,const char *db, uint *save_priv,
|
|||
|
||||
if ((thd->master_access & want_access) == want_access)
|
||||
{
|
||||
*save_priv=thd->master_access;
|
||||
*save_priv=thd->master_access | thd->db_access;
|
||||
return FALSE;
|
||||
}
|
||||
if ((want_access & ~thd->master_access) & ~(DB_ACLS | EXTRA_ACL) ||
|
||||
|
|
Loading…
Reference in a new issue