refactor: do some internal refactor.

This commit is contained in:
Haojun Liao 2022-11-30 15:25:19 +08:00
parent 8dcbafb780
commit d66b7f3de0
1 changed files with 1 additions and 2 deletions

View File

@ -539,8 +539,7 @@ void destroyDiskbasedBuf(SDiskbasedBuf* pBuf) {
if (needRemoveFile) {
int32_t ret = taosRemoveFile(pBuf->path);
if (ret != 0) { // print the error and discard this error info
int32_t code = TAOS_SYSTEM_ERROR(errno);
uDebug("WARNING tPage remove file failed. path=%s, code:%s", pBuf->path, strerror(code));
uDebug("WARNING tPage remove file failed. path=%s, code:%s", pBuf->path, strerror(errno));
}
}