fix: remove the core

This commit is contained in:
shenglian zhou 2023-07-27 17:29:31 +08:00 committed by slzhou
parent 5322e38dfe
commit b85c1ae8a1
1 changed files with 4 additions and 2 deletions

View File

@ -146,8 +146,10 @@ void *destroySttBlockReader(SArray *pLDataIterArray, int64_t *blocks, double *el
SArray *pList = taosArrayGetP(pLDataIterArray, i);
for (int32_t j = 0; j < taosArrayGetSize(pList); ++j) {
SLDataIter *pIter = taosArrayGetP(pList, j);
*el += pIter->pBlockLoadInfo->elapsedTime;
*blocks += pIter->pBlockLoadInfo->loadBlocks;
if (pIter->bInit) {
*el += pIter->pBlockLoadInfo->elapsedTime;
*blocks += pIter->pBlockLoadInfo->loadBlocks;
}
destroyLDataIter(pIter);
}
taosArrayDestroy(pList);