From 12cbd1c8bbc63e8525bf2ff1754e9a88f59f11f1 Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Thu, 1 Sep 2022 14:25:24 +0800 Subject: [PATCH] refact --- source/dnode/vnode/src/tsdb/tsdbCommit.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source/dnode/vnode/src/tsdb/tsdbCommit.c b/source/dnode/vnode/src/tsdb/tsdbCommit.c index 1df0b5954a..3c497d143f 100644 --- a/source/dnode/vnode/src/tsdb/tsdbCommit.c +++ b/source/dnode/vnode/src/tsdb/tsdbCommit.c @@ -457,7 +457,6 @@ static int32_t tsdbOpenCommitIter(SCommitter *pCommitter) { iIter++; } } else { - pCommitter->toLastOnly = 0; for (int32_t iLast = 0; iLast < pReader->pSet->nLastF; iLast++) { SLastFile *pLastFile = pReader->pSet->aLastF[iLast]; if (pLastFile->size > pLastFile->offset) {