more work

This commit is contained in:
Hongze Cheng 2022-06-27 15:44:33 +00:00
parent 44c473303f
commit aac1fb643f
1 changed files with 5 additions and 0 deletions

View File

@ -1034,6 +1034,11 @@ static int32_t tsdbCommitTableData(SCommitter *pCommitter, STbData *pTbData, SBl
pRow = tsdbTbDataIterGet(pIter);
iBlock++;
if (iBlock < nBlock) {
tMapDataGetItemByIdx(&pCommitter->oBlockMap, iBlock, pBlock, tGetBlock);
} else {
pBlock = NULL;
}
} else {
int32_t c = tBlockCmprFn(&(SBlock){.maxKey = TSDBROW_KEY(pRow), .minKey = TSDBROW_KEY(pRow)}, pBlock);
if (c > 0) {