fix: payloadLen may be zero

This commit is contained in:
xsren 2024-10-17 16:40:28 +08:00
parent 161eb54b56
commit bee96ce5e2
1 changed files with 0 additions and 4 deletions

View File

@ -2555,10 +2555,6 @@ int32_t setQueryResultFromRsp(SReqResultInfo* pResultInfo, const SRetrieveTableR
return TSDB_CODE_TSC_INTERNAL_ERROR;
}
}
} else {
pResultInfo->pData = NULL;
pResultInfo->payloadLen = 0;
return TSDB_CODE_TSC_INTERNAL_ERROR;
}
// TODO handle the compressed case