mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
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)
This commit is contained in:
@ -1067,7 +1067,7 @@ static int check_connection(THD *thd)
|
||||
return 1; /* The error is set by alloc(). */
|
||||
}
|
||||
|
||||
auth_rc= acl_authenticate(thd, connect_errors, 0);
|
||||
auth_rc= acl_authenticate(thd, 0);
|
||||
if (auth_rc == 0 && connect_errors != 0)
|
||||
{
|
||||
/*
|
||||
|
Reference in New Issue
Block a user