1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

A fix for a bug with uncached database privileges.

This commit is contained in:
Sinisa@sinisa.nasamreza.org
2003-04-14 19:45:09 +03:00
parent d2c8e0ed88
commit 5ae3989fe3

View File

@ -2550,7 +2550,7 @@ check_access(THD *thd, ulong want_access, const char *db, ulong *save_priv,
if ((thd->master_access & want_access) == want_access)
{
*save_priv=thd->master_access;
*save_priv=thd->master_access | thd->db_access;
DBUG_RETURN(FALSE);
}
if (((want_access & ~thd->master_access) & ~(DB_ACLS | EXTRA_ACL)) ||