Fix a commit bug

This commit is contained in:
Hongze Cheng 2021-01-21 16:50:52 +08:00
parent f30a58fd74
commit ab8fa1d36b
1 changed files with 1 additions and 0 deletions

View File

@ -777,6 +777,7 @@ static int tsdbWriteBlock(SCommitH *pCommith, SDFile *pDFile, SDataCols *pDataCo
return -1;
}
pBlockData = (SBlockData *)TSDB_COMMIT_BUF(pCommith);
pBlockCol = pBlockData->cols + tcol;
tptr = POINTER_SHIFT(pBlockData, lsize);
if (pCfg->compression == TWO_STAGE_COMP &&