From 3aea34b4528f0089348b2b9f17c6cf2bef512df8 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 24 Apr 2007 11:26:40 +0500 Subject: [PATCH] after-merge fix --- mysql-test/r/grant.result | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mysql-test/r/grant.result b/mysql-test/r/grant.result index d63e4181026..f1f573e0350 100644 --- a/mysql-test/r/grant.result +++ b/mysql-test/r/grant.result @@ -657,6 +657,17 @@ delete from mysql.db where user='mysqltest1'; delete from mysql.tables_priv where user='mysqltest1'; flush privileges; drop database mysqltest; +create database db27515; +use db27515; +create table t1 (a int); +grant alter on db27515.t1 to user27515@localhost; +grant insert, create on db27515.t2 to user27515@localhost; +rename table t1 to t2; +ERROR 42000: DROP command denied to user 'user27515'@'localhost' for table 't1' +revoke all privileges, grant option from user27515@localhost; +drop user user27515@localhost; +drop database db27515; +End of 4.1 tests use test; create table t1 (a int); create table t2 as select * from mysql.user where user='';