From a8e91544252970b6de43239aaa6695e51d0084c2 Mon Sep 17 00:00:00 2001 From: Cary Xu Date: Wed, 11 May 2022 07:48:45 +0800 Subject: [PATCH] enh: format optimization --- source/dnode/vnode/src/tsdb/tsdbCommit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/dnode/vnode/src/tsdb/tsdbCommit.c b/source/dnode/vnode/src/tsdb/tsdbCommit.c index 7429d74dad..26b1dc7274 100644 --- a/source/dnode/vnode/src/tsdb/tsdbCommit.c +++ b/source/dnode/vnode/src/tsdb/tsdbCommit.c @@ -366,8 +366,8 @@ static int tsdbCommitToFile(SCommitH *pCommith, SDFileSet *pSet, int fid) { } #endif // Loop to commit each table data in mem and file - int mIter = 0, fIter = 0; - int32_t nBlkIdx = taosArrayGetSize(pCommith->readh.aBlkIdx); + int mIter = 0, fIter = 0; + int nBlkIdx = taosArrayGetSize(pCommith->readh.aBlkIdx); while (true) { SBlockIdx *pIdx = NULL;