Backend failed handshake is now a detected

Backend failed handshake is now a detected and MYSQL_HANDSHAKE_FAILED s
set.

Reload users from backend is now restricted to MYSQL_AUTH_FAILED only
This commit is contained in:
MassimilianoPinto
2014-12-03 09:00:08 +01:00
parent 6c3d27fd8f
commit 33f77303f7
3 changed files with 25 additions and 12 deletions

View File

@ -95,6 +95,7 @@ typedef enum {
MYSQL_AUTH_SENT,
MYSQL_AUTH_RECV,
MYSQL_AUTH_FAILED,
MYSQL_HANDSHAKE_FAILED,
MYSQL_IDLE
} mysql_auth_state_t;