Added missing subtraction of current number of connections.

This commit is contained in:
Markus Makela 2015-07-20 16:36:32 +03:00
parent a53c91c587
commit 3c999cef8d

View File

@ -558,6 +558,8 @@ dcb_process_victim_queue(DCB *listofdcb)
}
else
{
if(dcb->server)
atomic_add(&dcb->server->stats.n_current,-1);
dcb->fd = DCBFD_CLOSED;
LOGIF(LD, (skygw_log_write_flush(