Fixed failing test due to wrong display order

This commit is contained in:
Vicențiu Ciorbaru 2013-10-18 06:01:01 -07:00 committed by Sergei Golubchik
parent daf0345a7b
commit 2826399e64
2 changed files with 6 additions and 4 deletions

View file

@ -68,13 +68,13 @@ Grants for test_user@localhost
GRANT USAGE ON *.* TO 'test_user'@'localhost'
select * from mysql.roles_mapping;
HostFk UserFk RoleFk
localhost test_user r_sel
localhost test_user r_ins
localhost test_user r_upd
localhost test_user r_del
localhost test_user r_crt
localhost test_user r_del
localhost test_user r_drp
localhost test_user r_ins
localhost test_user r_rld
localhost test_user r_sel
localhost test_user r_upd
set role r_ins;
show grants;
Grants for test_user@localhost

View file

@ -60,6 +60,7 @@ select * from mysql.roles_mapping;
show grants;
set role r_sel;
show grants;
--sorted_result
select * from mysql.roles_mapping;
set role r_ins;
@ -104,6 +105,7 @@ set role r_sel;
create table mysql.random_test_table (id INT);
insert into mysql.random_test_table values (1);
--sorted_result
select * from mysql.random_test_table;
delete from mysql.roles_mapping where RoleFk='r_ins';
flush privileges;