Format readwritesplit with Astyle

Formatted readwritesplit with Astyle. Changed the initialization of
Backend::m_modutil_state to use curly braces to cope with Astyle's lack of
support for curly braces inside parentheses.
This commit is contained in:
Markus Mäkelä
2018-06-23 09:59:55 +03:00
parent e610b285b9
commit a417567a18
3 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ namespace maxscale
RWBackend::RWBackend(SERVER_REF* ref):
mxs::Backend(ref),
m_reply_state(REPLY_STATE_DONE),
m_modutil_state({}),
m_modutil_state{0},
m_command(0),
m_opening_cursor(false),
m_expected_rows(0),

View File

@ -427,7 +427,7 @@ bool RWSplitSession::route_session_write(GWBUF *querybuf, uint8_t command, uint3
else
{
MXS_ERROR("Failed to execute session command in %s (%s)",
backend->name(),backend->uri());
backend->name(), backend->uri());
}
}
}