提交 33b8ff9b 编写于 作者: H Hongze Cheng

more code

上级 e7ebb5c2
......@@ -112,6 +112,8 @@ int32_t tsdbFSetCmprFn(const STFileSet *pSet1, const STFileSet *pSet2) {
}
int32_t tsdbFSetEdit(STFileSet *fset, const STFileOp *op) {
int32_t code;
ASSERT(fset->fid == op->fid);
if (op->oState.size == 0) {
......@@ -123,15 +125,8 @@ int32_t tsdbFSetEdit(STFileSet *fset, const STFileOp *op) {
if (f[0].type == TSDB_FTYPE_STT) {
SSttLvl *lvl;
LISTD_FOREACH(&fset->lvl0, lvl, listNode) {
if (lvl->lvl == f[0].stt.lvl) {
break;
}
}
if (lvl == NULL) {
// TODO: create the level
}
// code = get_or_create_lvl(fset, f[0].stt.lvl, &lvl);
if (code) return code;
// TODO: add the stt file to the level
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册