more code
This commit is contained in:
parent
85c4c61027
commit
cd39d129c2
|
@ -298,11 +298,11 @@ int32_t tsdbTFileSetApplyEdit(STsdb *pTsdb, const STFileSet *fset1, STFileSet *f
|
|||
ASSERT(fset1->fid == fset2->fid);
|
||||
|
||||
for (tsdb_ftype_t ftype = TSDB_FTYPE_MIN; ftype < TSDB_FTYPE_MAX; ++ftype) {
|
||||
if (!fset1->farr[ftype] && !fset2->farr[ftype]) continue;
|
||||
|
||||
STFileObj *fobj1 = fset1->farr[ftype];
|
||||
STFileObj *fobj2 = fset2->farr[ftype];
|
||||
|
||||
if (!fobj1 && !fobj2) continue;
|
||||
|
||||
if (fobj1 && fobj2) {
|
||||
if (tsdbIsSameTFile(&fobj1->f, &fobj2->f)) {
|
||||
if (tsdbIsTFileChanged(&fobj1->f, &fobj2->f)) {
|
||||
|
|
Loading…
Reference in New Issue