refactor: do some internal refactor.
This commit is contained in:
parent
8dcbafb780
commit
d66b7f3de0
|
@ -539,8 +539,7 @@ void destroyDiskbasedBuf(SDiskbasedBuf* pBuf) {
|
||||||
if (needRemoveFile) {
|
if (needRemoveFile) {
|
||||||
int32_t ret = taosRemoveFile(pBuf->path);
|
int32_t ret = taosRemoveFile(pBuf->path);
|
||||||
if (ret != 0) { // print the error and discard this error info
|
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(errno));
|
||||||
uDebug("WARNING tPage remove file failed. path=%s, code:%s", pBuf->path, strerror(code));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue