mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
4c69a6fff2
Added an extra column to i_s_applicable_roles, named IS_DEFAULT. The column displays which role is the default role for the user querying the table.
9 lines
305 B
Text
9 lines
305 B
Text
grant create user on *.* to foo@localhost;
|
|
drop user foo@localhost;
|
|
select * from information_schema.applicable_roles;
|
|
GRANTEE ROLE_NAME IS_GRANTABLE IS_DEFAULT
|
|
show grants;
|
|
ERROR 42000: There is no such grant defined for user 'foo' on host 'localhost'
|
|
select current_user();
|
|
current_user()
|
|
foo@localhost
|