summaryrefslogtreecommitdiff
path: root/sql/sql_acl.cc
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-08-15 09:54:19 +0300
committermonty@mashka.mysql.fi <>2003-08-15 09:54:19 +0300
commita9146ace70a6bc56be969dc55830a875864bbd78 (patch)
tree8af6b315e91238a5e5102bbf069129cfc58554b0 /sql/sql_acl.cc
parentfb47e642568139a58d8ac5598d9897fdb3ff1fa0 (diff)
downloadmariadb-git-a9146ace70a6bc56be969dc55830a875864bbd78.tar.gz
Cleanups to recent patches
Fix packet error when using wrong GRANT command
Diffstat (limited to 'sql/sql_acl.cc')
-rw-r--r--sql/sql_acl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc
index 6df778c997b..83cd2c7d2b4 100644
--- a/sql/sql_acl.cc
+++ b/sql/sql_acl.cc
@@ -2370,7 +2370,7 @@ int mysql_grant (THD *thd, const char *db, List <LEX_USER> &list,
else
{
net_printf(&thd->net,ER_WRONG_USAGE,"DB GRANT","GLOBAL PRIVILEGES");
- result= -1;
+ result= 1;
}
}
}