summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorKristofer Pettersson <kristofer.pettersson@sun.com>2009-11-10 15:56:05 +0100
committerKristofer Pettersson <kristofer.pettersson@sun.com>2009-11-10 15:56:05 +0100
commit08aecd54db76199259fab77745f04b133ca880b7 (patch)
treef2a39463b5a11e8f49fcf95e0212ce18817b514a /sql/sql_parse.cc
parentb921e93f80716277b3acc2d8b8da0f8a58d0b7ec (diff)
downloadmariadb-git-08aecd54db76199259fab77745f04b133ca880b7.tar.gz
Bug#27145 EXTRA_ACL troubles
Correction of backport patch: * Fixed signature of check_access_table() for embedded build * Fixed typo for last argument in a check_access() call from UINT_MAX to 0.
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index b99ff1c99c5..b5a088af539 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -2268,7 +2268,7 @@ mysql_execute_command(THD *thd)
privileges_requested,
all_tables, FALSE, UINT_MAX, FALSE);
else
- res= check_access(thd, privileges_requested, any_db, 0, 0, 0, UINT_MAX);
+ res= check_access(thd, privileges_requested, any_db, 0, 0, 0, 0);
if (res)
break;