summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mysql-test/r/grant.result4
-rw-r--r--mysql-test/t/grant.test4
2 files changed, 4 insertions, 4 deletions
diff --git a/mysql-test/r/grant.result b/mysql-test/r/grant.result
index 98a21b14585..d56020c3090 100644
--- a/mysql-test/r/grant.result
+++ b/mysql-test/r/grant.result
@@ -1146,8 +1146,8 @@ select col1 from test limit 1 into tmp;
return '1';
end|
create view v1 as select test.* from test where test.col1=test_function();
-grant update (col1) on v1 to 'greg';
-revoke all privileges on v1 from 'greg';
+grant update (col1) on v1 to 'greg'@'localhost';
+drop user 'greg'@'localhost';
drop view v1;
drop table test;
drop function test_function;
diff --git a/mysql-test/t/grant.test b/mysql-test/t/grant.test
index 43548094a33..e4b95502143 100644
--- a/mysql-test/t/grant.test
+++ b/mysql-test/t/grant.test
@@ -1169,8 +1169,8 @@ begin
end|
delimiter ;|
create view v1 as select test.* from test where test.col1=test_function();
-grant update (col1) on v1 to 'greg';
-revoke all privileges on v1 from 'greg';
+grant update (col1) on v1 to 'greg'@'localhost';
+drop user 'greg'@'localhost';
drop view v1;
drop table test;
drop function test_function;