MDEV-5215 Granted to PUBLIC

This commit is contained in:
Oleksandr Byelkin 2021-12-13 16:15:21 +01:00 committed by Sergei Golubchik
commit b0325bd6d6
14 changed files with 1325 additions and 204 deletions

View file

@ -76,8 +76,8 @@ bool hostname_requires_resolving(const char *hostname);
bool acl_init(bool dont_read_acl_tables);
bool acl_reload(THD *thd);
void acl_free(bool end=0);
privilege_t acl_get(const char *host, const char *ip,
const char *user, const char *db, my_bool db_is_pattern);
privilege_t acl_get_all3(Security_context *sctx, const char *db,
bool db_is_patern);
bool acl_authenticate(THD *thd, uint com_change_user_pkt_len);
bool acl_getroot(Security_context *sctx, const char *user, const char *host,
const char *ip, const char *db);