提交 b4a9e55b 编写于 作者: H Hongze Cheng

fix a bug

上级 c7efb35b
...@@ -162,7 +162,7 @@ int32_t tRowBuild(SArray *aColVal, STSchema *pTSchema, SRow **ppRow) { ...@@ -162,7 +162,7 @@ int32_t tRowBuild(SArray *aColVal, STSchema *pTSchema, SRow **ppRow) {
ntp = sizeof(SRow); ntp = sizeof(SRow);
break; break;
case HAS_VALUE: case HAS_VALUE:
ntp = sizeof(SRow) + pTSchema->flen; ntp = sizeof(SRow) + pTSchema->flen + ntp;
break; break;
case (HAS_NULL | HAS_NONE): case (HAS_NULL | HAS_NONE):
ntp = sizeof(SRow) + BIT1_SIZE(pTSchema->numOfCols - 1); ntp = sizeof(SRow) + BIT1_SIZE(pTSchema->numOfCols - 1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册