blob: 5b32150389eca948e0dd11f42b60d584daaa30f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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;
|