提交 15a1f384 编写于 作者: C Cary Xu

update

上级 40193917
......@@ -92,8 +92,6 @@ static int tsdbEncodeDFileSetArray(void **buf, SArray *pArray) {
static int tsdbDecodeDFileSetArray(void **originBuf, void *buf, SArray *pArray, SFSHeader *pSFSHeader) {
uint64_t nset = 0;
SDFileSet dset = {0};
dset.ver = TSDB_FSET_VER_0; // default value
taosArrayClear(pArray);
......@@ -113,6 +111,8 @@ static int tsdbDecodeDFileSetArray(void **originBuf, void *buf, SArray *pArray,
}
for (size_t i = 0; i < nset; i++) {
SDFileSet dset = {0}; // ver is TSDB_FSET_VER_0(0) at default
int a = sizeof(dset);
buf = tsdbDecodeDFileSet(buf, &dset, pSFSHeader->version);
taosArrayPush(pArray, (void *)(&dset));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册