From 489a8ca0f5f0fbade8d8efb9ae5a71037656c92b Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Mon, 13 Jul 2020 22:51:54 +0800 Subject: [PATCH] fix coredump --- src/tsdb/src/tsdbRWHelper.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tsdb/src/tsdbRWHelper.c b/src/tsdb/src/tsdbRWHelper.c index f43d10918d..7bb59dd47f 100644 --- a/src/tsdb/src/tsdbRWHelper.c +++ b/src/tsdb/src/tsdbRWHelper.c @@ -1534,6 +1534,7 @@ static int tsdbLoadAndMergeFromCache(SDataCols *pDataCols, int *iter, SCommitIte dataColAppendVal(pTarget->cols + i, tdGetColDataOfRow(pDataCols->cols + i, *iter), pTarget->numOfRows, pTarget->maxPoints); } + pTarget->numOfRows++; (*iter)++; if (key1 == key2) tSkipListIterNext(pCommitIter->pIter); } else { -- GitLab