Skip to content

Commit

Permalink
Merge pull request #22362 from taosdata/szhou/fix-ts3795
Browse files Browse the repository at this point in the history
fix: reset rowsize since it is set during blockDataAppendColInfo
  • Loading branch information
dapan1121 committed Aug 9, 2023
2 parents d683e13 + ff36f5f commit 5c91800
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/common/src/tdatablock.c
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@ SSDataBlock* blockDataExtractBlock(SSDataBlock* pBlock, int32_t startIndex, int3
pDst->info = pBlock->info;
pDst->info.rows = 0;
pDst->info.capacity = 0;
pDst->info.rowSize = 0;
size_t numOfCols = taosArrayGetSize(pBlock->pDataBlock);
for (int32_t i = 0; i < numOfCols; ++i) {
SColumnInfoData colInfo = {0};
Expand Down

0 comments on commit 5c91800

Please sign in to comment.