From 97e83a905b04425ab8f9682900eecc5a885f507d Mon Sep 17 00:00:00 2001 From: Cary Xu Date: Fri, 11 Nov 2022 17:07:16 +0800 Subject: [PATCH] fix: iter next column for kv row --- source/dnode/vnode/src/tsdb/tsdbUtil.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/dnode/vnode/src/tsdb/tsdbUtil.c b/source/dnode/vnode/src/tsdb/tsdbUtil.c index d58c9dab84..3387d72a5d 100644 --- a/source/dnode/vnode/src/tsdb/tsdbUtil.c +++ b/source/dnode/vnode/src/tsdb/tsdbUtil.c @@ -1191,6 +1191,9 @@ static int32_t tBlockDataAppendKVRow(SBlockData *pBlockData, STSRow *pRow, STSch } else { ASSERT(0); } + + iTColumn++; + pTColumn = (iTColumn < pTSchema->numOfCols) ? &pTSchema->columns[iTColumn] : NULL; } }