This commit is contained in:
hzcheng 2020-04-18 11:45:41 +08:00
parent 709f6d094e
commit 8e1bd07438
1 changed files with 1 additions and 1 deletions

View File

@ -715,7 +715,7 @@ static int tsdbWriteBlockToFile(SRWHelper *pHelper, SFile *pFile, SDataCols *pDa
pCompBlock->last = isLast;
pCompBlock->offset = offset;
pCompBlock->algorithm = 0; // TODO
pCompBlock->algorithm = pHelper->config.compress;
pCompBlock->numOfPoints = rowsToWrite;
pCompBlock->sversion = pHelper->tableInfo.sversion;
pCompBlock->len = (int32_t)tsize;