mariadb/mysql-test/t/acl_roles_create_and_grant_role.test
Sergei Golubchik f1a71b6815 bugfix: missing restore_record when modifying roles_mapping() table.
(and an assert in myisam to catch these bugs easier in the future)
update tests/results
2013-10-18 12:27:07 -07:00

19 lines
330 B
Text

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;