MXS-2196: Rename session states
Minor renaming of the session state enum values. Also exposed the session state stringification function in the public header and removed the stringification macro.
This commit is contained in:
@ -638,7 +638,7 @@ void SchemaRouterSession::handleError(GWBUF* pMessage,
|
||||
|
||||
case ERRACT_REPLY_CLIENT:
|
||||
// The session pointer can be NULL if the creation fails when filters are being set up
|
||||
if (m_client->session && m_client->session->state == SESSION_STATE_ROUTER_READY)
|
||||
if (m_client->session && m_client->session->state == SESSION_STATE_STARTED)
|
||||
{
|
||||
m_client->func.write(m_client, gwbuf_clone(pMessage));
|
||||
}
|
||||
|
Reference in New Issue
Block a user