Add missing set of fake event flag

The FakeEventTask called the actual DCB handler with a fake task but it
didn't set the fake event flag. This caused KILL queries to be treated as
if they were network errors.
This commit is contained in:
Markus Mäkelä 2019-12-19 11:31:51 +02:00
parent a73b183555
commit e725ebb7d0
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -3327,7 +3327,9 @@ public:
{
mxb_assert(m_dcb->poll.owner == RoutingWorker::get_current());
m_dcb->fakeq = m_buffer;
m_dcb->is_fake_event = true;
dcb_handler(m_dcb, m_ev);
m_dcb->is_fake_event = true;
}
else
{