From 08f3280235efbaf20988b81653fced604de1a90f Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Wed, 7 May 2014 16:13:00 +0200 Subject: 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) --- sql/sql_acl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_acl.h') 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); -- cgit v1.2.1