MXS-2220 Move most remaining functions inside class
Most of the ones still remaining outside are special cases. Also, removed locking from status manipulation functions as it has not been required for quite some time.
This commit is contained in:
@ -116,7 +116,7 @@ bool connect_backend_servers(SSRBackendList& backends, MXS_SESSION* session)
|
||||
b->server->stats.n_current,
|
||||
b->server->address,
|
||||
b->server->port,
|
||||
mxs::server_status(b->server).c_str());
|
||||
b->server->status_string().c_str());
|
||||
}
|
||||
}
|
||||
/**
|
||||
@ -170,7 +170,7 @@ bool connect_backend_servers(SSRBackendList& backends, MXS_SESSION* session)
|
||||
if ((*it)->in_use())
|
||||
{
|
||||
MXS_INFO("Connected %s in \t%s:%d",
|
||||
mxs::server_status(b->server).c_str(),
|
||||
b->server->status_string().c_str(),
|
||||
b->server->address,
|
||||
b->server->port);
|
||||
}
|
||||
|
Reference in New Issue
Block a user