more code

This commit is contained in:
Hongze Cheng 2023-01-22 17:20:26 +08:00
parent fff4a96bdf
commit 4f0a605cc0
1 changed files with 2 additions and 0 deletions

View File

@ -1255,6 +1255,8 @@ static int32_t tsdbSnapWriteFileDataEnd(STsdbSnapWriter* pWriter) {
code = tsdbSnapWriteTableData(pWriter, NULL);
TSDB_CHECK_CODE(code, lino, _exit);
// TODO: ??
if (pWriter->sData.nRow) {
code = tsdbWriteSttBlock(pWriter->pDataFWriter, &pWriter->sData, pWriter->aSttBlk, pWriter->cmprAlg);
TSDB_CHECK_CODE(code, lino, _exit);