mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge branch 'bb-10.3-release' into bb-10.4-release
Note, the fix for "MDEV-23328 Server hang due to Galera lock conflict resolution" was null-merged. 10.4 version of the fix is coming up separately
This commit is contained in:
@ -3159,6 +3159,12 @@ end:
|
||||
|
||||
int acl_check_setrole(THD *thd, const char *rolename, ulonglong *access)
|
||||
{
|
||||
if (!initialized)
|
||||
{
|
||||
my_error(ER_OPTION_PREVENTS_STATEMENT, MYF(0), "--skip-grant-tables");
|
||||
return 1;
|
||||
}
|
||||
|
||||
return check_user_can_set_role(thd, thd->security_ctx->priv_user,
|
||||
thd->security_ctx->host, thd->security_ctx->ip, rolename, access);
|
||||
}
|
||||
|
Reference in New Issue
Block a user