Addition to previous fix

This commit is contained in:
VilhoRaatikka
2014-11-11 14:25:34 +02:00
parent 061fa62d29
commit 128d5e3f48
2 changed files with 5 additions and 8 deletions

View File

@ -392,12 +392,9 @@ static int gw_read_backend_event(DCB *dcb) {
dcb,
dcb->session)));
if (session != NULL)
{
spinlock_acquire(&session->ses_lock);
session->state = SESSION_STATE_STOPPING;
spinlock_release(&session->ses_lock);
}
ss_dassert(dcb->dcb_errhandle_called);
dcb_close(dcb);
}

View File

@ -1767,7 +1767,7 @@ void protocol_archive_srv_command(
}
else /*< scan and count history commands */
{
len += 1;
len = 1;
while (h1->scom_next != NULL)
{