fix ci error.
This commit is contained in:
parent
bd9d859162
commit
27f489fadf
|
@ -123,11 +123,9 @@ int32_t walInitWriteFileForSkip(SWal *pWal) {
|
||||||
pWal->writeCur = 0;
|
pWal->writeCur = 0;
|
||||||
_exit:
|
_exit:
|
||||||
if (code != TSDB_CODE_SUCCESS) {
|
if (code != TSDB_CODE_SUCCESS) {
|
||||||
if (pIdxTFile) (void)taosCloseFile(&pIdxTFile);
|
(void)taosCloseFile(&pIdxTFile);
|
||||||
if (pLogTFile) (void)taosCloseFile(&pLogTFile);
|
(void)taosCloseFile(&pLogTFile);
|
||||||
}
|
}
|
||||||
(void)taosCloseFile(&pIdxTFile);
|
|
||||||
(void)taosCloseFile(&pLogTFile);
|
|
||||||
TAOS_RETURN(code);
|
TAOS_RETURN(code);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue