MXS-2196: Fix DCB session check
The check was missing the special case of persistent connections.
This commit is contained in:
parent
20fe9b9dca
commit
ae62cf6eb6
@ -2888,7 +2888,7 @@ void poll_fake_hangup_event(DCB* dcb)
|
||||
*/
|
||||
static bool dcb_session_check(DCB* dcb, const char* function)
|
||||
{
|
||||
if (dcb->session)
|
||||
if (dcb->session || dcb->persistentstart)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user