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