Minor test update to eliminate random row order.

This commit is contained in:
Vicențiu Ciorbaru 2013-10-17 20:52:21 -07:00 committed by Sergei Golubchik
parent 871f6e1631
commit 9272e34a90
2 changed files with 4 additions and 6 deletions

View file

@ -38,9 +38,8 @@ set role test_role1;
show grants;
Grants for test_user@localhost
GRANT USAGE ON *.* TO 'test_user'@'localhost'
select * from mysql.roles_mapping;
select * from mysql.roles_mapping where HostFk='';
HostFk UserFk RoleFk
localhost test_user test_role1
test_role1 test_role2
show grants;
Grants for test_user@localhost
@ -68,9 +67,8 @@ set role test_role1;
show grants;
Grants for test_user@localhost
GRANT USAGE ON *.* TO 'test_user'@'localhost'
select * from mysql.roles_mapping;
select * from mysql.roles_mapping where HostFk='';
HostFk UserFk RoleFk
localhost test_user test_role1
test_role1 test_role2
show grants;
Grants for test_user@localhost

View file

@ -31,7 +31,7 @@ select * from mysql.roles_mapping;
show grants;
set role test_role1;
show grants;
select * from mysql.roles_mapping;
select * from mysql.roles_mapping where HostFk='';
show grants;
set role none;
@ -50,7 +50,7 @@ select * from mysql.roles_mapping;
show grants;
set role test_role1;
show grants;
select * from mysql.roles_mapping;
select * from mysql.roles_mapping where HostFk='';
show grants;
set role none;