Merge pull request #4211 from taosdata/hotfix/TD-2084
[TD-2084]<hotfix>: invalid read when close TSDB
This commit is contained in:
commit
6f2f7335ca
|
@ -462,8 +462,8 @@ _exit:
|
||||||
tdFreeDataCols(pDataCols);
|
tdFreeDataCols(pDataCols);
|
||||||
tsdbDestroyCommitIters(iters, pMem->maxTables);
|
tsdbDestroyCommitIters(iters, pMem->maxTables);
|
||||||
tsdbDestroyHelper(&whelper);
|
tsdbDestroyHelper(&whelper);
|
||||||
tsdbEndCommit(pRepo);
|
|
||||||
tsdbInfo("vgId:%d commit over", pRepo->config.tsdbId);
|
tsdbInfo("vgId:%d commit over", pRepo->config.tsdbId);
|
||||||
|
tsdbEndCommit(pRepo);
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue