summaryrefslogtreecommitdiff
path: root/sql/sql_acl.h
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2005-09-20 21:20:38 +0300
committerbell@sanja.is.com.ua <>2005-09-20 21:20:38 +0300
commitc1b185f5ff1f1f2141604269a7fe908ca91a8b0c (patch)
tree566c629b6b083a25010a5ecb53445bfe05c48fc6 /sql/sql_acl.h
parentaec371f910c56f03ca108439a1b5d449b1bd9dc3 (diff)
downloadmariadb-git-c1b185f5ff1f1f2141604269a7fe908ca91a8b0c.tar.gz
WL#2787 (Add view definer/owner to the view definition (.frm) to check privileges on used tables and stored routines when using a VIEW.)
Part 2 postreview fixes.
Diffstat (limited to 'sql/sql_acl.h')
-rw-r--r--sql/sql_acl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_acl.h b/sql/sql_acl.h
index f62f3c12b28..0e50737f84c 100644
--- a/sql/sql_acl.h
+++ b/sql/sql_acl.h
@@ -181,8 +181,8 @@ ulong acl_get(const char *host, const char *ip,
const char *user, const char *db, my_bool db_is_pattern);
int acl_getroot(THD *thd, USER_RESOURCES *mqh, const char *passwd,
uint passwd_len);
-int acl_getroot_no_password(st_security_context *sctx, char *user, char *host,
- char *ip, char *db);
+bool acl_getroot_no_password(Security_context *sctx, char *user, char *host,
+ char *ip, char *db);
bool acl_check_host(const char *host, const char *ip);
bool check_change_password(THD *thd, const char *host, const char *user,
char *password, uint password_len);