Commit 9272e34a authored by Vicențiu Ciorbaru's avatar Vicențiu Ciorbaru Committed by Sergei Golubchik

Minor test update to eliminate random row order.

parent 871f6e16
...@@ -38,9 +38,8 @@ set role test_role1; ...@@ -38,9 +38,8 @@ set role test_role1;
show grants; show grants;
Grants for test_user@localhost Grants for test_user@localhost
GRANT USAGE ON *.* TO '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 HostFk UserFk RoleFk
localhost test_user test_role1
test_role1 test_role2 test_role1 test_role2
show grants; show grants;
Grants for test_user@localhost Grants for test_user@localhost
...@@ -68,9 +67,8 @@ set role test_role1; ...@@ -68,9 +67,8 @@ set role test_role1;
show grants; show grants;
Grants for test_user@localhost Grants for test_user@localhost
GRANT USAGE ON *.* TO '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 HostFk UserFk RoleFk
localhost test_user test_role1
test_role1 test_role2 test_role1 test_role2
show grants; show grants;
Grants for test_user@localhost Grants for test_user@localhost
......
...@@ -31,7 +31,7 @@ select * from mysql.roles_mapping; ...@@ -31,7 +31,7 @@ select * from mysql.roles_mapping;
show grants; show grants;
set role test_role1; set role test_role1;
show grants; show grants;
select * from mysql.roles_mapping; select * from mysql.roles_mapping where HostFk='';
show grants; show grants;
set role none; set role none;
...@@ -50,7 +50,7 @@ select * from mysql.roles_mapping; ...@@ -50,7 +50,7 @@ select * from mysql.roles_mapping;
show grants; show grants;
set role test_role1; set role test_role1;
show grants; show grants;
select * from mysql.roles_mapping; select * from mysql.roles_mapping where HostFk='';
show grants; show grants;
set role none; set role none;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment