Merge branch '2.3' into 2.4
This commit is contained in:
@ -1709,6 +1709,11 @@ static int gw_client_hangup_event(DCB* dcb)
|
||||
session_dump_statements(session);
|
||||
}
|
||||
|
||||
if (session_get_session_trace())
|
||||
{
|
||||
session_dump_log(session);
|
||||
}
|
||||
|
||||
// The client did not send a COM_QUIT packet
|
||||
std::string errmsg {"Connection killed by MaxScale"};
|
||||
std::string extra {session_get_close_reason(dcb->session)};
|
||||
|
@ -304,6 +304,7 @@ void RWBackend::process_packets(GWBUF* result)
|
||||
auto it = buffer.begin();
|
||||
MXB_AT_DEBUG(size_t total_len = buffer.length());
|
||||
MXB_AT_DEBUG(size_t used_len = 0);
|
||||
mxb_assert(dcb()->session->service->capabilities & (RCAP_TYPE_PACKET_OUTPUT | RCAP_TYPE_STMT_OUTPUT));
|
||||
|
||||
while (it != buffer.end())
|
||||
{
|
||||
|
Reference in New Issue
Block a user