未验证 提交 527e1b29 编写于 作者: wafwerar's avatar wafwerar 提交者: GitHub

Merge pull request #10607 from taosdata/fix/ZhiqiangWang/TD-13756-file-system-fp-error

[TD-13756]<fix>: file system fp error.
...@@ -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.
先完成此消息的编辑!
想要评论请 注册