diff options
author | Sergei Golubchik <serg@mariadb.org> | 2014-11-25 10:07:59 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2014-12-04 10:41:55 +0100 |
commit | b81404671998009c25a56cc83aa7bf098ef9d964 (patch) | |
tree | 6e651e96bc7845f064c22ccb739aa1d14863463b /sql/sql_acl.h | |
parent | dccd85e7c72b873d3824be5ef1dcba8a7bb777e7 (diff) | |
download | mariadb-git-b81404671998009c25a56cc83aa7bf098ef9d964.tar.gz |
validate SET PASSWORD
Diffstat (limited to 'sql/sql_acl.h')
-rw-r--r-- | sql/sql_acl.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sql/sql_acl.h b/sql/sql_acl.h index 1bdf2820086..55b00a9494f 100644 --- a/sql/sql_acl.h +++ b/sql/sql_acl.h @@ -206,10 +206,8 @@ bool acl_authenticate(THD *thd, uint com_change_user_pkt_len); bool acl_getroot(Security_context *sctx, char *user, char *host, char *ip, char *db); bool acl_check_host(const char *host, const char *ip); -int check_change_password(THD *thd, const char *host, const char *user, - char *password, uint password_len); -bool change_password(THD *thd, const char *host, const char *user, - char *password); +bool check_change_password(THD *thd, LEX_USER *user); +bool change_password(THD *thd, LEX_USER *user); bool mysql_grant_role(THD *thd, List<LEX_USER> &user_list, bool revoke); bool mysql_grant(THD *thd, const char *db, List <LEX_USER> &user_list, |