summaryrefslogtreecommitdiff
path: root/sql/sql_acl.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2014-11-25 10:07:59 +0100
committerSergei Golubchik <serg@mariadb.org>2014-12-04 10:41:55 +0100
commitb81404671998009c25a56cc83aa7bf098ef9d964 (patch)
tree6e651e96bc7845f064c22ccb739aa1d14863463b /sql/sql_acl.h
parentdccd85e7c72b873d3824be5ef1dcba8a7bb777e7 (diff)
downloadmariadb-git-b81404671998009c25a56cc83aa7bf098ef9d964.tar.gz
validate SET PASSWORD
Diffstat (limited to 'sql/sql_acl.h')
-rw-r--r--sql/sql_acl.h6
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,