From d0011ac448f5a10a21c1767915e73000e0340fa9 Mon Sep 17 00:00:00 2001 From: wangjiaming0909 <604227650@qq.com> Date: Tue, 1 Aug 2023 05:45:45 +0800 Subject: [PATCH] remove unlink tmp file --- source/os/src/osFile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/os/src/osFile.c b/source/os/src/osFile.c index dd670595f0..054da4dc4b 100644 --- a/source/os/src/osFile.c +++ b/source/os/src/osFile.c @@ -327,7 +327,7 @@ TdFilePtr taosOpenFile(const char *path, int32_t tdFileOptions) { #else // Remove it instantly, so when the program exits normally/abnormally, the file // will be automatically remove by OS. - unlink(path); + //unlink(path); #endif } -- GitLab