mysql-admutils/mysql-useradm.patch
Knut Petter Svendsen ff52786682 With alter table patches and the undocumented feature for administering
mysql users and databases with same name as unix groups for the user.
2002-02-27 08:49:48 +00:00

12 lines
409 B
Diff

--- mysql/mysql-useradm.c Wed Feb 2 20:51:53 2000
+++ src-0.3-local/mysql-useradm.c Thu Feb 17 21:22:31 2000
@@ -269,7 +269,7 @@
/* for each supplied database name, perform the requested action */
for (i = 2; i < argc; i++)
{
- if (! owner(argv[i]))
+ if (! (owner(argv[i]) || member(argv[i])))
{
dberror(NULL, "You are not the owner of '%s'. Skipping.",
argv[i]);