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);
|
||||
if (pRpcHandle != NULL) {
|
||||
code = asyncFreeConnById(pExchangeInfo->pTransporter, *pRpcHandle);
|
||||
if (code != 0) {
|
||||
qError("failed to free rpc handle, code:%s, %p", tstrerror(code), pExchangeInfo);
|
||||
code = 0;
|
||||
int32_t ret = asyncFreeConnById(pExchangeInfo->pTransporter, *pRpcHandle);
|
||||
if (ret != 0) {
|
||||
qError("failed to free rpc handle, code:%s, %p", tstrerror(ret), pExchangeInfo);
|
||||
}
|
||||
*pRpcHandle = -1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue