MXS-1875 Log in correct branch
Also use different error message to make it plain where it is logged.
This commit is contained in:
parent
f166b50b37
commit
bced61c6d8
@ -3434,7 +3434,7 @@ static bool dcb_add_to_worker(int worker_id, DCB* dcb, uint32_t events)
|
||||
|
||||
if (!worker->post_message(MXS_WORKER_MSG_CALL, arg1, arg2))
|
||||
{
|
||||
MXS_ERROR("Could not post DCB to worker.");
|
||||
MXS_ERROR("Could not post listening DCB for book-keeping to worker.");
|
||||
}
|
||||
}
|
||||
|
||||
@ -3470,9 +3470,12 @@ static bool dcb_add_to_worker(int worker_id, DCB* dcb, uint32_t events)
|
||||
|
||||
if (worker->post(std::auto_ptr<AddDcbToWorker>(task), mxs::Worker::EXECUTE_QUEUED))
|
||||
{
|
||||
MXS_ERROR("Could not post DCB to worker.");
|
||||
rv = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
MXS_ERROR("Could not post task to add DCB to worker.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user