fix a bug

This commit is contained in:
Hongze Cheng 2022-12-03 15:34:03 +08:00
parent c7efb35b83
commit b4a9e55b47
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ int32_t tRowBuild(SArray *aColVal, STSchema *pTSchema, SRow **ppRow) {
ntp = sizeof(SRow);
break;
case HAS_VALUE:
ntp = sizeof(SRow) + pTSchema->flen;
ntp = sizeof(SRow) + pTSchema->flen + ntp;
break;
case (HAS_NULL | HAS_NONE):
ntp = sizeof(SRow) + BIT1_SIZE(pTSchema->numOfCols - 1);