Commit d71bd5fa authored by unknown's avatar unknown

Patch clean up.

Fixed interference between tests: Users were added but not properly removed.
This caused later tests to fail.


mysql-test/r/grant.result:
  Fixed interference between tests: Users were added but not properly removed.
  This caused later tests to fail.
mysql-test/t/grant.test:
  Fixed interference between tests: Users were added but not properly removed.
  This caused later tests to fail.
parent d455ee29
...@@ -1146,8 +1146,8 @@ select col1 from test limit 1 into tmp; ...@@ -1146,8 +1146,8 @@ select col1 from test limit 1 into tmp;
return '1'; return '1';
end| end|
create view v1 as select test.* from test where test.col1=test_function(); create view v1 as select test.* from test where test.col1=test_function();
grant update (col1) on v1 to 'greg'; grant update (col1) on v1 to 'greg'@'localhost';
revoke all privileges on v1 from 'greg'; drop user 'greg'@'localhost';
drop view v1; drop view v1;
drop table test; drop table test;
drop function test_function; drop function test_function;
......
...@@ -1169,8 +1169,8 @@ begin ...@@ -1169,8 +1169,8 @@ begin
end| end|
delimiter ;| delimiter ;|
create view v1 as select test.* from test where test.col1=test_function(); create view v1 as select test.* from test where test.col1=test_function();
grant update (col1) on v1 to 'greg'; grant update (col1) on v1 to 'greg'@'localhost';
revoke all privileges on v1 from 'greg'; drop user 'greg'@'localhost';
drop view v1; drop view v1;
drop table test; drop table test;
drop function test_function; drop function test_function;
......
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