fix: fix win CI crash caused by tmp variable
This commit is contained in:
parent
1c7f6bf28e
commit
ce90d228f9
|
@ -523,7 +523,14 @@ static int32_t tsdbCommitTableMemData(SCommitter *pCommitter, STbDataIter *pIter
|
|||
|
||||
tsdbTbDataIterNext(pIter);
|
||||
pRow = tsdbTbDataIterGet(pIter);
|
||||
if (pRow && tsdbKeyCmprFn(&TSDBROW_KEY(pRow), &toKey) >= 0) pRow = NULL;
|
||||
// if (pRow && tsdbKeyCmprFn(&TSDBROW_KEY(pRow), &toKey) >= 0) pRow = NULL;
|
||||
// crash on CI, use the block following
|
||||
if (pRow) {
|
||||
TSDBKEY key = TSDBROW_KEY(pRow);
|
||||
if (tsdbKeyCmprFn(&TSDBROW_KEY(pRow), &toKey) >= 0) {
|
||||
pRow = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
if (pBlockData->nRow >= pCommitter->maxRow * 4 / 5) goto _write_block;
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue