Commit 698fcc5c authored by Sergei Golubchik's avatar Sergei Golubchik

fix unstable test results

parent 2f294dbc
...@@ -44,12 +44,15 @@ set default role role_b for user_b@localhost; ...@@ -44,12 +44,15 @@ set default role role_b for user_b@localhost;
change_user 'user_a'; change_user 'user_a';
show grants; show grants;
--sorted_result
select user, host, default_role from mysql.user where user like 'user_%'; select user, host, default_role from mysql.user where user like 'user_%';
set default role NONE for current_user; set default role NONE for current_user;
--sorted_result
select user, host, default_role from mysql.user where user like 'user_%'; select user, host, default_role from mysql.user where user like 'user_%';
set default role current_role for current_user; set default role current_role for current_user;
--sorted_result
select user, host, default_role from mysql.user where user like 'user_%'; select user, host, default_role from mysql.user where user like 'user_%';
# Make sure we can't set a default role not granted to us, using current_user # Make sure we can't set a default role not granted to us, using current_user
......
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