fix(mnd/stream): fix ignore update compatibility
This commit is contained in:
parent
f8b59fc5bf
commit
742a6d6c95
|
@ -146,8 +146,10 @@ int32_t tDecodeSStreamObj(SDecoder *pDecoder, SStreamObj *pObj, int32_t sver) {
|
||||||
// 3.0.20
|
// 3.0.20
|
||||||
if (sver >= 2) {
|
if (sver >= 2) {
|
||||||
if (tDecodeI64(pDecoder, &pObj->checkpointFreq) < 0) return -1;
|
if (tDecodeI64(pDecoder, &pObj->checkpointFreq) < 0) return -1;
|
||||||
|
if (!tDecodeIsEnd(pDecoder)) {
|
||||||
if (tDecodeI8(pDecoder, &pObj->igCheckUpdate) < 0) return -1;
|
if (tDecodeI8(pDecoder, &pObj->igCheckUpdate) < 0) return -1;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
tEndDecode(pDecoder);
|
tEndDecode(pDecoder);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue