fix test_old_data.sim bug
This commit is contained in:
parent
68d4a494f0
commit
23b69f62d3
|
@ -1133,6 +1133,7 @@ static int tsdbRestoreDFileSet(STsdbRepo *pRepo) {
|
|||
index++;
|
||||
}
|
||||
|
||||
tsdbInfo("vgId:%d FSET %d is restored", REPO_ID(pRepo), fset.fid);
|
||||
taosArrayPush(pfs->cstatus->df, &fset);
|
||||
}
|
||||
|
||||
|
|
|
@ -408,7 +408,7 @@ int tsdbLoadDFileHeader(SDFile *pDFile, SDFInfo *pInfo) {
|
|||
|
||||
void *pBuf = buf;
|
||||
pBuf = taosDecodeFixedU32(pBuf, &version);
|
||||
pBuf = tsdbDecodeDFInfo(buf, pInfo);
|
||||
pBuf = tsdbDecodeDFInfo(pBuf, pInfo);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue