fix: tsdb snapshot reader type

This commit is contained in:
kailixu 2023-01-29 22:13:14 +08:00
parent 57885eae5a
commit a558e49999
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ static int32_t tsdbSnapCmprData(STsdbSnapReader* pReader, uint8_t** ppData) {
}
SSnapDataHdr* pHdr = (SSnapDataHdr*)*ppData;
pHdr->type = SNAP_DATA_TSDB;
pHdr->type = pReader->type;
pHdr->size = size;
memcpy(pHdr->data, pReader->aBuf[3], aBufN[3]);