Re: [Sqlrelay-discussion] a couple of patches - one more
Brought to you by:
mused
|
From: Renat S. <sr...@st...> - 2010-05-19 09:58:14
|
14.05.2010 17:34, Renat Sabitov пишет: > 09_sessioncount_correction.patch - prevents sessioncount to go below zero Unfortunately this patch does not work properly. I found, that testing connectionsinuse and totalconnections to go below zero make no sense since they are unsigned and decremeting zero value produces UINT32_MAX. But in other parts of program this values are cast to signed int, wich goes below zero because of overloading. So I made a patch which changed type of them to signed int. I hope you'll find it useful. -- Renat Sabitov e-mail: sr...@st... Stack Soft jid: sr...@ja... |