fix: fix win CI crash caused by tmp variable
This commit is contained in:
parent
220636f6fa
commit
a0f3655f55
|
@ -526,8 +526,8 @@ static int32_t tsdbCommitTableMemData(SCommitter *pCommitter, STbDataIter *pIter
|
|||
// 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(&key, &toKey) >= 0) {
|
||||
TSDBKEY tmpKey = TSDBROW_KEY(pRow);
|
||||
if (tsdbKeyCmprFn(&tmpKey, &toKey) >= 0) {
|
||||
pRow = NULL;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue