add config
This commit is contained in:
parent
e58f667611
commit
1ba3178a85
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue