add debug log
This commit is contained in:
parent
8dd11f9a09
commit
41067c55b3
|
@ -662,6 +662,7 @@ static SCliConn* getConnFromPool(SCliThrd* pThrd, char* key, bool* exceed) {
|
||||||
if (QUEUE_IS_EMPTY(&plist->conns)) {
|
if (QUEUE_IS_EMPTY(&plist->conns)) {
|
||||||
if (plist->list->numOfConn >= pTranInst->connLimitNum) {
|
if (plist->list->numOfConn >= pTranInst->connLimitNum) {
|
||||||
*exceed = true;
|
*exceed = true;
|
||||||
|
return NULL;;
|
||||||
}
|
}
|
||||||
plist->list->numOfConn++;
|
plist->list->numOfConn++;
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in New Issue