MXS-2196: Remove listeners from services

All access to the listeners of a service are done via the listener
functions.
This commit is contained in:
Markus Mäkelä
2018-11-29 16:02:33 +02:00
parent 1c7d5f07c3
commit bb295b5cbe
10 changed files with 67 additions and 169 deletions

View File

@ -272,7 +272,7 @@ LocalClient* LocalClient::create(MYSQL_session* session, MySQLProtocol* proto, S
if (listener->port > 0)
{
/** Pick the first network listener */
rval = create(session, proto, "127.0.0.1", service->ports->port);
rval = create(session, proto, "127.0.0.1", listener->port);
break;
}
}