Fix test_poll failure
With the changes to the DCB handling, the service pointer of a client DCB must always be assigned. Also removed the unnecessary parentheses around the comparison.
This commit is contained in:
@ -3420,7 +3420,7 @@ int poll_add_dcb(DCB *dcb)
|
||||
worker_id = MXS_WORKER_ALL;
|
||||
}
|
||||
else if (dcb->dcb_role == DCB_ROLE_CLIENT_HANDLER &&
|
||||
(strcasecmp(dcb->service->routerModule, "cli") == 0))
|
||||
strcasecmp(dcb->service->routerModule, "cli") == 0)
|
||||
{
|
||||
// If the DCB refers to an accepted maxadmin socket, we force it
|
||||
// to the main thread. That's done in order to prevent a deadlock
|
||||
|
Reference in New Issue
Block a user