Improve user name setting in DCB for persistent connections and to fix bug; change name of session_alloc_dummy to session_set_dummy to be more informative.

This commit is contained in:
counterpoint
2015-08-28 18:20:18 +01:00
parent f1c3b65b15
commit a711b25fec
4 changed files with 9 additions and 8 deletions

View File

@ -1643,7 +1643,7 @@ int gw_MySQLAccept(DCB *listener)
}
client_dcb->service = listener->session->service;
client_dcb->session = session_alloc_dummy(client_dcb);
client_dcb->session = session_set_dummy(client_dcb);
client_dcb->fd = c_sock;
// get client address