Knut Petter Svendsen
ff52786682
mysql users and databases with same name as unix groups for the user.
12 lines
409 B
Diff
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]);
|