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); SSourceDataInfo* pSourceDataInfo = taosArrayGet(pExchangeInfo->pSourceDataInfo, index);
int64_t* pRpcHandle = taosArrayGet(pExchangeInfo->pFetchRpcHandles, index); int64_t* pRpcHandle = taosArrayGet(pExchangeInfo->pFetchRpcHandles, index);
if (pRpcHandle != NULL) {
asyncFreeConnById(pExchangeInfo->pTransporter, *pRpcHandle); asyncFreeConnById(pExchangeInfo->pTransporter, *pRpcHandle);
*pRpcHandle = -1; *pRpcHandle = -1;
}
if (!pSourceDataInfo) { if (!pSourceDataInfo) {
return terrno; return terrno;