Move capture of user name for persistent connections; expand error message in mysql client to give more information.

This commit is contained in:
counterpoint
2015-09-01 09:59:34 +01:00
parent a711b25fec
commit d74990833b
2 changed files with 16 additions and 8 deletions

View File

@ -1859,8 +1859,10 @@ gw_client_hangup_event(DCB *dcb)
}
#if defined(SS_DEBUG)
LOGIF(LE, (skygw_log_write_flush(
LOGFILE_ERROR,
"Client hangup error handling.")));
LOGFILE_ERROR,
"Client hangup error handling, session state %s, dcb state %s.",
session_state(session->state),
STRDCBSTATE(dcb->state))));
#endif
dcb_close(dcb);