MXS-2196: Take Listener into use

This commit is contained in:
Markus Mäkelä
2018-11-30 11:43:33 +02:00
parent 330719c8f9
commit a10b6c2e89
16 changed files with 93 additions and 137 deletions

View File

@ -269,10 +269,10 @@ LocalClient* LocalClient::create(MYSQL_session* session, MySQLProtocol* proto, S
for (const auto& listener : listener_find_by_service(service))
{
if (listener->port > 0)
if (listener->port() > 0)
{
/** Pick the first network listener */
rval = create(session, proto, "127.0.0.1", listener->port);
rval = create(session, proto, "127.0.0.1", listener->port());
break;
}
}