diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-05-07 16:13:00 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-05-07 16:13:00 +0200 |
commit | 08f3280235efbaf20988b81653fced604de1a90f (patch) | |
tree | e08357aab56f5249040eae0374be62c24066141a /sql/sql_acl.h | |
parent | a83a4136ffd44e214fd7c7ddf6aa3307242d4f29 (diff) | |
download | mariadb-git-08f3280235efbaf20988b81653fced604de1a90f.tar.gz |
5.6-compatibility, per-host connect error counter is reset only after the
successful connection, not when a client reply packet is received
(that still might be invalid).
(test case was merged with perfschema 5.6.17)
Diffstat (limited to 'sql/sql_acl.h')
-rw-r--r-- | sql/sql_acl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_acl.h b/sql/sql_acl.h index df523fae1ca..1aeb123153e 100644 --- a/sql/sql_acl.h +++ b/sql/sql_acl.h @@ -202,7 +202,7 @@ my_bool acl_reload(THD *thd); void acl_free(bool end=0); ulong acl_get(const char *host, const char *ip, const char *user, const char *db, my_bool db_is_pattern); -bool acl_authenticate(THD *thd, uint connect_errors, uint com_change_user_pkt_len); +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); |