fix: minor changes

This commit is contained in:
Shengliang Guan 2023-01-06 15:56:27 +08:00
parent f5a6108ca0
commit ef6c273c11
1 changed files with 0 additions and 4 deletions

View File

@ -680,10 +680,6 @@ int32_t sdbStopWrite(SSdb *pSdb, SSdbIter *pIter, bool isApply, int64_t index, i
code = 0;
_OVER:
if (pIter->file != NULL) {
taosCloseFile(&pIter->file);
pIter->file = NULL;
}
sdbCloseIter(pIter);
return code;
}