Corrected some error messages. Added checking for protocol state in gw_MySQLWrite_backend. If protocol is in MYSQL_AUTH_FAILED state (=authentication is comleted and failed) write to backend is discarded.
This commit is contained in:
@ -332,10 +332,6 @@ int gw_receive_backend_auth(
|
||||
tmpbuf[4],
|
||||
tmpbuf)));
|
||||
|
||||
LOGIF(LE, (skygw_log_write_flush(
|
||||
LOGFILE_ERROR,
|
||||
"Error : Invalid authentication message from "
|
||||
"backend server. Authentication failed.")));
|
||||
free(tmpbuf);
|
||||
rc = -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user