提交 ecd3b35f 编写于 作者: H Hongze Cheng

make it pass compile

上级 afb5be51
...@@ -376,7 +376,7 @@ static int32_t tsdbCommitMemoryData(SCommitter *pCommitter, SBlockIdx *pBlockIdx ...@@ -376,7 +376,7 @@ static int32_t tsdbCommitMemoryData(SCommitter *pCommitter, SBlockIdx *pBlockIdx
block.last = 0; 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; if (code) goto _err;
code = tMapDataPutItem(&pCommitter->nBlock, &block, tPutBlock); code = tMapDataPutItem(&pCommitter->nBlock, &block, tPutBlock);
...@@ -454,7 +454,7 @@ static int32_t tsdbMergeCommitImpl(SCommitter *pCommitter, SBlockIdx *pBlockIdx, ...@@ -454,7 +454,7 @@ static int32_t tsdbMergeCommitImpl(SCommitter *pCommitter, SBlockIdx *pBlockIdx,
_write_block_data: _write_block_data:
block.last = pCommitter->bDataN.nRow < pCommitter->minRow ? 1 : 0; 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; if (code) goto _err;
code = tMapDataPutItem(&pCommitter->nBlock, &block, tPutBlock); code = tMapDataPutItem(&pCommitter->nBlock, &block, tPutBlock);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册