提交 09f28589 编写于 作者: H Hongze Cheng

fix some coredump

上级 976dc322
......@@ -1209,7 +1209,7 @@ _exit:
}
static int32_t tsdbDataFileDoWriteTombBlk(SDataFileWriter *writer) {
ASSERT(TARRAY2_SIZE(writer->tombBlkArray) == 0);
ASSERT(TARRAY2_SIZE(writer->tombBlkArray) > 0);
int32_t code = 0;
int32_t lino = 0;
......
......@@ -613,6 +613,8 @@ int32_t tsdbIterNext(STsdbIter *iter) {
return tsdbSttTombIterNext(iter, NULL);
case TSDB_ITER_TYPE_DATA_TOMB:
return tsdbDataTombIterNext(iter, NULL);
case TSDB_ITER_TYPE_MEMT_TOMB:
return tsdbMemTombIterNext(iter, NULL);
default:
ASSERT(false);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册