MXS-2220 Move server_is_active inside the class
This commit is contained in:
@ -85,7 +85,7 @@ HintRouterSession* HintRouter::newSession(MXS_SESSION* pSession)
|
||||
/* Go through the server references, find master and slaves */
|
||||
for (SERVER_REF* pSref = pSession->service->dbref; pSref; pSref = pSref->next)
|
||||
{
|
||||
if (SERVER_REF_IS_ACTIVE(pSref))
|
||||
if (server_ref_is_active(pSref))
|
||||
{
|
||||
if (server_is_master(pSref->server))
|
||||
{
|
||||
|
Reference in New Issue
Block a user