mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
65eee0be5f
Don't assume that thd->security_ctx->priv_user is an actually existing user account
9 lines
294 B
Text
9 lines
294 B
Text
grant create user on *.* to foo@localhost;
|
|
drop user foo@localhost;
|
|
select * from information_schema.applicable_roles;
|
|
GRANTEE ROLE_NAME IS_GRANTABLE
|
|
show grants;
|
|
ERROR 42000: There is no such grant defined for user 'foo' on host 'localhost'
|
|
select current_user();
|
|
current_user()
|
|
foo@localhost
|