Commit bb66e66d authored by Vicentiu Ciorbaru's avatar Vicentiu Ciorbaru Committed by Sergei Golubchik

Changed set_default_role_for test to clean up correctly

parent a3550feb
...@@ -60,6 +60,6 @@ select user, host, default_role from mysql.user where user like 'user_%'; ...@@ -60,6 +60,6 @@ select user, host, default_role from mysql.user where user like 'user_%';
ERROR 42000: SELECT command denied to user 'user_a'@'localhost' for table 'user' ERROR 42000: SELECT command denied to user 'user_a'@'localhost' for table 'user'
drop role role_a; drop role role_a;
drop role role_b; drop role role_b;
drop user someuser@somehost; delete from mysql.user where user = 'someuser' && host = 'somehost';
drop user user_a@localhost; drop user user_a@localhost;
drop user user_b@localhost; drop user user_b@localhost;
...@@ -79,6 +79,6 @@ change_user 'root'; ...@@ -79,6 +79,6 @@ change_user 'root';
drop role role_a; drop role role_a;
drop role role_b; drop role role_b;
drop user someuser@somehost; delete from mysql.user where user = 'someuser' && host = 'somehost';
drop user user_a@localhost; drop user user_a@localhost;
drop user user_b@localhost; drop user user_b@localhost;
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