$NetBSD: patch-bg,v 1.3 2008/03/26 13:22:00 wiz Exp $

--- sql/sql_parse.cc.orig	2006-11-03 02:17:00.000000000 +0000
+++ sql/sql_parse.cc
@@ -2736,7 +2736,7 @@ unsent_create_error:
 	old_list=table[0];
 	new_list=table->next[0];
 	old_list.next=new_list.next=0;
-	if (check_grant(thd, ALTER_ACL, &old_list, 0, UINT_MAX, 0) ||
+	if (check_grant(thd, ALTER_ACL | DROP_ACL, &old_list, 0, UINT_MAX, 0) ||
 	    (!test_all_bits(table->next->grant.privilege,
 			    INSERT_ACL | CREATE_ACL) &&
 	     check_grant(thd, INSERT_ACL | CREATE_ACL, &new_list, 0,
