From ecd3b35f1d12a26db87d7928edc8a37f7c6c1589 Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Sat, 18 Jun 2022 10:36:12 +0000 Subject: [PATCH] make it pass compile --- 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 674e29616c..df6ff7caa4 100644 --- a/source/dnode/vnode/src/tsdb/tsdbCommit.c +++ b/source/dnode/vnode/src/tsdb/tsdbCommit.c @@ -376,7 +376,7 @@ static int32_t tsdbCommitMemoryData(SCommitter *pCommitter, SBlockIdx *pBlockIdx block.last = 0; } - code = tsdbWriteBlockData(pCommitter->pWriter, &pCommitter->bDataN, NULL, pBlockIdx, &block); + code = tsdbWriteBlockData(pCommitter->pWriter, &pCommitter->bDataN, NULL, NULL, pBlockIdx, &block); if (code) goto _err; code = tMapDataPutItem(&pCommitter->nBlock, &block, tPutBlock); @@ -454,7 +454,7 @@ static int32_t tsdbMergeCommitImpl(SCommitter *pCommitter, SBlockIdx *pBlockIdx, _write_block_data: block.last = pCommitter->bDataN.nRow < pCommitter->minRow ? 1 : 0; - code = tsdbWriteBlockData(pCommitter->pWriter, &pCommitter->bDataN, NULL, pBlockIdx, &block); + code = tsdbWriteBlockData(pCommitter->pWriter, &pCommitter->bDataN, NULL, NULL, pBlockIdx, &block); if (code) goto _err; code = tMapDataPutItem(&pCommitter->nBlock, &block, tPutBlock); -- GitLab