1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +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

@ -1224,7 +1224,7 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
auth_rc= 1;
}
else
auth_rc= acl_authenticate(thd, 0, packet_length);
auth_rc= acl_authenticate(thd, packet_length);
mysql_audit_notify_connection_change_user(thd);
if (auth_rc)