mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
21 lines
364 B
Text
21 lines
364 B
Text
source include/not_embedded.inc;
|
|
|
|
create role r1;
|
|
grant r1 to root@localhost;
|
|
create user u1;
|
|
set role r1;
|
|
|
|
grant r1 to u1;
|
|
--sorted_result
|
|
select * from mysql.roles_mapping;
|
|
|
|
drop user u1;
|
|
--sorted_result
|
|
select * from mysql.roles_mapping;
|
|
--sorted_result
|
|
show grants;
|
|
drop role r1;
|
|
--sorted_result
|
|
select * from mysql.roles_mapping;
|
|
--sorted_result
|
|
show grants;
|