Merge remote-tracking branch 'origin/3.0' into enh/opt-transport
This commit is contained in:
parent
51e3938897
commit
ae770e1dd0
|
@ -533,10 +533,9 @@ int32_t loadRemoteDataCallback(void* param, SDataBuf* pMsg, int32_t code) {
|
||||||
|
|
||||||
int64_t* pRpcHandle = taosArrayGet(pExchangeInfo->pFetchRpcHandles, index);
|
int64_t* pRpcHandle = taosArrayGet(pExchangeInfo->pFetchRpcHandles, index);
|
||||||
if (pRpcHandle != NULL) {
|
if (pRpcHandle != NULL) {
|
||||||
code = asyncFreeConnById(pExchangeInfo->pTransporter, *pRpcHandle);
|
int32_t ret = asyncFreeConnById(pExchangeInfo->pTransporter, *pRpcHandle);
|
||||||
if (code != 0) {
|
if (ret != 0) {
|
||||||
qError("failed to free rpc handle, code:%s, %p", tstrerror(code), pExchangeInfo);
|
qError("failed to free rpc handle, code:%s, %p", tstrerror(ret), pExchangeInfo);
|
||||||
code = 0;
|
|
||||||
}
|
}
|
||||||
*pRpcHandle = -1;
|
*pRpcHandle = -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue