MDEV-29167 new db-level SHOW CREATE ROUTINE privilege

This commit is contained in:
Oleksandr Byelkin 2023-09-04 13:04:06 +02:00
commit 53cdfbd1da
43 changed files with 2308 additions and 110 deletions

View file

@ -140,7 +140,8 @@ bool sp_revoke_privileges(THD *thd, const char *sp_db, const char *sp_name,
const Sp_handler *sph);
bool sp_grant_privileges(THD *thd, const char *sp_db, const char *sp_name,
const Sp_handler *sph);
bool check_routine_level_acl(THD *thd, const char *db, const char *name,
bool check_routine_level_acl(THD *thd, privilege_t acl,
const char *db, const char *name,
const Sp_handler *sph);
bool is_acl_user(const char *host, const char *user);
int fill_schema_user_privileges(THD *thd, TABLE_LIST *tables, COND *cond);