mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Added comment for database privilege checks.
This commit is contained in:
committed by
Sergei Golubchik
parent
f2ab661999
commit
8c7ca88a6c
@ -2250,6 +2250,7 @@ ulong acl_get(const char *host, const char *ip,
|
||||
db_access=acl_db->access;
|
||||
if (acl_db->host.hostname)
|
||||
goto exit; // Fully specified. Take it
|
||||
/* the host table is not used for roles */
|
||||
if ((!host || !host[0]) && !acl_db->host.hostname && find_acl_role(user))
|
||||
goto exit;
|
||||
break; /* purecov: tested */
|
||||
|
Reference in New Issue
Block a user