make it compile

This commit is contained in:
Hongze Cheng 2022-07-11 11:19:16 +00:00
parent 61fb45af56
commit d459ea6afe
1 changed files with 1 additions and 1 deletions

View File

@ -470,7 +470,7 @@ static int32_t tsdbSnapWriteTableData(STsdbSnapWriter* pWriter, uint8_t* pData,
if (pWriter->pBlock->last) { if (pWriter->pBlock->last) {
// load the last block and merge with the data (todo) // load the last block and merge with the data (todo)
} else { } else {
int32_t c = tBlockCmprFn(&(SBlock){/*TODO*/}, pWriter->pBlock); int32_t c = tBlockCmprFn(&(SBlock){0 /*TODO*/}, pWriter->pBlock);
if (c > 0) { if (c > 0) {
// commit until pWriter->pBlock (todo) // commit until pWriter->pBlock (todo)