add config

This commit is contained in:
yihaoDeng 2024-10-09 20:11:56 +08:00
parent e58f667611
commit 1ba3178a85
1 changed files with 4 additions and 2 deletions

View File

@ -532,8 +532,10 @@ int32_t loadRemoteDataCallback(void* param, SDataBuf* pMsg, int32_t code) {
SSourceDataInfo* pSourceDataInfo = taosArrayGet(pExchangeInfo->pSourceDataInfo, index);
int64_t* pRpcHandle = taosArrayGet(pExchangeInfo->pFetchRpcHandles, index);
asyncFreeConnById(pExchangeInfo->pTransporter, *pRpcHandle);
*pRpcHandle = -1;
if (pRpcHandle != NULL) {
asyncFreeConnById(pExchangeInfo->pTransporter, *pRpcHandle);
*pRpcHandle = -1;
}
if (!pSourceDataInfo) {
return terrno;