fix: alter stt_trigger bug
This commit is contained in:
parent
ec7614449e
commit
a601cd21bd
|
@ -235,12 +235,8 @@ static int32_t tsdbCommitOpenReader(SCommitter2 *committer) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
ASSERT(TARRAY2_SIZE(committer->ctx->fset->lvlArr) == 1);
|
||||
|
||||
SSttLvl *lvl = TARRAY2_FIRST(committer->ctx->fset->lvlArr);
|
||||
|
||||
ASSERT(lvl->level == 0);
|
||||
|
||||
SSttLvl *lvl;
|
||||
TARRAY2_FOREACH(committer->ctx->fset->lvlArr, lvl) {
|
||||
STFileObj *fobj = NULL;
|
||||
TARRAY2_FOREACH(lvl->fobjArr, fobj) {
|
||||
SSttFileReader *sttReader;
|
||||
|
@ -266,6 +262,7 @@ static int32_t tsdbCommitOpenReader(SCommitter2 *committer) {
|
|||
code = TARRAY2_APPEND(committer->fopArray, op);
|
||||
TSDB_CHECK_CODE(code, lino, _exit);
|
||||
}
|
||||
}
|
||||
|
||||
_exit:
|
||||
if (code) {
|
||||
|
|
Loading…
Reference in New Issue