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