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

more code

上级 4b5ea55d
...@@ -275,6 +275,7 @@ int32_t tsdbFileSetInitEx(const STFileSet *fset1, STFileSet *fset2) { ...@@ -275,6 +275,7 @@ int32_t tsdbFileSetInitEx(const STFileSet *fset1, STFileSet *fset2) {
SSttLvl *lvl1 = TCONTAINER_OF(node, SSttLvl, rbtn); SSttLvl *lvl1 = TCONTAINER_OF(node, SSttLvl, rbtn);
SSttLvl *lvl2 = taosMemoryCalloc(1, sizeof(*lvl2)); SSttLvl *lvl2 = taosMemoryCalloc(1, sizeof(*lvl2));
if (lvl2 == NULL) return TSDB_CODE_OUT_OF_MEMORY; if (lvl2 == NULL) return TSDB_CODE_OUT_OF_MEMORY;
stt_lvl_init(lvl2, lvl1->level);
add_stt_lvl(fset2, lvl2); add_stt_lvl(fset2, lvl2);
SRBTreeIter iter2 = tRBTreeIterCreate(&lvl1->sttTree, 1); SRBTreeIter iter2 = tRBTreeIterCreate(&lvl1->sttTree, 1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册