1
0
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:
Sergei Golubchik
2014-05-07 16:13:00 +02:00
parent a83a4136ff
commit 08f3280235
4 changed files with 4 additions and 12 deletions

View File

@ -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)
{
/*