diff options
author | bell@sanja.is.com.ua <> | 2005-09-15 22:29:07 +0300 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2005-09-15 22:29:07 +0300 |
commit | aec371f910c56f03ca108439a1b5d449b1bd9dc3 (patch) | |
tree | fc6da649fdbafccdf434cac04cebe418f638185d /sql/sql_acl.h | |
parent | a9b3767874eea19ab146404a199ba2927e013b1e (diff) | |
download | mariadb-git-aec371f910c56f03ca108439a1b5d449b1bd9dc3.tar.gz |
WL#2787 (part 2, ver 3 (merged)) changed securety context switching
Diffstat (limited to 'sql/sql_acl.h')
-rw-r--r-- | sql/sql_acl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_acl.h b/sql/sql_acl.h index 344302de9be..f62f3c12b28 100644 --- a/sql/sql_acl.h +++ b/sql/sql_acl.h @@ -181,7 +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(THD *thd); +int acl_getroot_no_password(st_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); |