This commit is contained in:
Hongze Cheng 2021-01-16 17:37:30 +08:00
parent f2f353c0fd
commit 05e248b5d8
1 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ static FORCE_INLINE int tsdbAppendMFile(SMFile* pMFile, void* buf, int64_t nbyte
pMFile->info.size += nbyte;
return 0;
return nbyte;
}
static FORCE_INLINE int tsdbRemoveMFile(SMFile* pMFile) { return tfsremove(TSDB_FILE_F(pMFile)); }
@ -242,7 +242,7 @@ static FORCE_INLINE int tsdbAppendDFile(SDFile* pDFile, void* buf, int64_t nbyte
pDFile->info.size += nbyte;
return 0;
return nbyte;
}
static FORCE_INLINE int tsdbRemoveDFile(SDFile* pDFile) { return tfsremove(TSDB_FILE_F(pDFile)); }