Fix build failure caused by merge from 2.1

The dcb->thread.id is dcb->poll.thread.id in 2.2.
This commit is contained in:
Markus Mäkelä
2018-04-10 13:54:30 +03:00
parent fad4508fe2
commit d22be5dd3e

View File

@ -387,7 +387,7 @@ dcb_connect(SERVER *server, MXS_SESSION *session, const char *protocol)
{
MXS_DEBUG("Looking for persistent connection DCB user %s protocol %s", user, protocol);
dcb = server_get_persistent(server, user, session->client_dcb->remote,
protocol, session->client_dcb->thread.id);
protocol, session->client_dcb->poll.thread.id);
if (dcb)
{
/**