提交 a558e499 编写于 作者: K kailixu

fix: tsdb snapshot reader type

上级 57885eae
...@@ -302,7 +302,7 @@ static int32_t tsdbSnapCmprData(STsdbSnapReader* pReader, uint8_t** ppData) { ...@@ -302,7 +302,7 @@ static int32_t tsdbSnapCmprData(STsdbSnapReader* pReader, uint8_t** ppData) {
} }
SSnapDataHdr* pHdr = (SSnapDataHdr*)*ppData; SSnapDataHdr* pHdr = (SSnapDataHdr*)*ppData;
pHdr->type = SNAP_DATA_TSDB; pHdr->type = pReader->type;
pHdr->size = size; pHdr->size = size;
memcpy(pHdr->data, pReader->aBuf[3], aBufN[3]); memcpy(pHdr->data, pReader->aBuf[3], aBufN[3]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册