summaryrefslogtreecommitdiff
path: root/sql/sql_acl.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2004-02-03 19:17:23 +0100
committermonty@mysql.com <>2004-02-03 19:17:23 +0100
commitd51263b6e5308338f0efa78e65755b3b7f48f597 (patch)
treed2e781dd8a39aa918c25b6ba10a1b6cabec62518 /sql/sql_acl.cc
parent268521a61df055896bda6a30bd56843ca51541a6 (diff)
downloadmariadb-git-d51263b6e5308338f0efa78e65755b3b7f48f597.tar.gz
Ensure that privileges are tested properly for multi-table-updates.
Now one need only SELECT privilege for tables that are only read in UPDATE statements with many tables. (Bug #2377).
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 6df636386d6..596619b3955 100644
--- a/sql/sql_acl.cc
+++ b/sql/sql_acl.cc
@@ -2539,7 +2539,7 @@ void grant_reload(THD *thd)
/****************************************************************************
Check grants
- All errors are written directly to the client if command name is given !
+ All errors are written directly to the client if no_errors is given !
****************************************************************************/
bool check_grant(THD *thd, ulong want_access, TABLE_LIST *tables,