提交 db3f4ea1 编写于 作者: H Hongze Cheng

[TD-2121]<hotfix>: fix coredump when commit failed

上级 a5003c23
...@@ -282,7 +282,7 @@ static int tsdbCommitToFile(STsdbRepo *pRepo, int fid, SCommitIter *iters, SRWHe ...@@ -282,7 +282,7 @@ static int tsdbCommitToFile(STsdbRepo *pRepo, int fid, SCommitIter *iters, SRWHe
_err: _err:
tfree(dataDir); tfree(dataDir);
tsdbCloseHelperFile(pHelper, 1, NULL); tsdbCloseHelperFile(pHelper, 1, pGroup);
return -1; return -1;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册