Rename to has_session_commands

This way it is similar to other member functions.
This commit is contained in:
Markus Mäkelä
2018-04-04 16:30:48 +03:00
parent 951a55ef43
commit 34008082e5
6 changed files with 11 additions and 11 deletions

View File

@ -431,7 +431,7 @@ int32_t SchemaRouterSession::routeQuery(GWBUF* pPacket)
MXS_INFO("Route query to \t%s:%d <", bref->backend()->server->name, bref->backend()->server->port);
if (bref->have_session_commands())
if (bref->has_session_commands())
{
/** Store current statement if execution of the previous
* session command hasn't been completed. */
@ -490,7 +490,7 @@ void SchemaRouterSession::handle_mapping_reply(SSRBackend& bref, GWBUF** pPacket
void SchemaRouterSession::process_sescmd_response(SSRBackend& bref, GWBUF** ppPacket)
{
if (bref->have_session_commands())
if (bref->has_session_commands())
{
/** We are executing a session command */
if (GWBUF_IS_TYPE_SESCMD_RESPONSE((*ppPacket)))