Log interrupting packet's type during trx replay

This will allow non-SQL commands to be detected.
This commit is contained in:
Markus Mäkelä 2019-09-03 13:48:46 +03:00
parent 916e9ea3b1
commit 46a3c9f61c
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -124,7 +124,8 @@ int32_t RWSplitSession::routeQuery(GWBUF* querybuf)
if (m_is_replay_active && !GWBUF_IS_REPLAYED(querybuf))
{
MXS_INFO("New query received while transaction replay is active: %s",
MXS_INFO("New %s received while transaction replay is active: %s",
STRPACKETTYPE(GWBUF_DATA(querybuf)[4]),
mxs::extract_sql(querybuf).c_str());
m_query_queue.emplace_back(querybuf);
return 1;