diff --git a/mysql-test/r/grant.result b/mysql-test/r/grant.result
index ca34b56b9ccf77f987c3baf704e9e45d9ee1d949..a4c51cca277f24a244ef5f661514a0786fea6af7 100644
--- a/mysql-test/r/grant.result
+++ b/mysql-test/r/grant.result
@@ -1121,7 +1121,7 @@ SELECT * FROM test.t1;
 f1	f2
 1	1
 2	2
-DROP VIEW v1;
+DROP DATABASE db27878;
 use test;
 DROP TABLE t1;
 End of 5.0 tests
diff --git a/mysql-test/t/grant.test b/mysql-test/t/grant.test
index c1eae9b3c362c68ba9480d728a4d12dd583a404b..aa43e4225c5de0fb72b191706d7e132fddfbf8d8 100644
--- a/mysql-test/t/grant.test
+++ b/mysql-test/t/grant.test
@@ -1144,7 +1144,7 @@ UPDATE v1 SET f2 = 4;
 SELECT * FROM test.t1;
 disconnect user1;
 connection default;
-DROP VIEW v1;
+DROP DATABASE db27878;
 use test;
 DROP TABLE t1;