summaryrefslogtreecommitdiff
path: root/sql/sql_acl.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-05-07 16:13:00 +0200
committerSergei Golubchik <sergii@pisem.net>2014-05-07 16:13:00 +0200
commit08f3280235efbaf20988b81653fced604de1a90f (patch)
treee08357aab56f5249040eae0374be62c24066141a /sql/sql_acl.h
parenta83a4136ffd44e214fd7c7ddf6aa3307242d4f29 (diff)
downloadmariadb-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.h2
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);