提交 13769072 编写于 作者: wafwerar's avatar wafwerar

[TD-13756]<fix>: file system fp error.

上级 c906bc28
...@@ -542,7 +542,7 @@ int32_t taosFsyncFile(TdFilePtr pFile) { ...@@ -542,7 +542,7 @@ int32_t taosFsyncFile(TdFilePtr pFile) {
} }
if (pFile->fp != NULL) return fflush(pFile->fp); if (pFile->fp != NULL) return fflush(pFile->fp);
if (pFile->fp >= 0) return fsync(pFile->fd); if (pFile->fd >= 0) return fsync(pFile->fd);
return 0; return 0;
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册