提交 b9497f8f 编写于 作者: C Cary Xu

[ci skip] typo fix

上级 52eaa880
...@@ -277,7 +277,7 @@ int dataColAppendVal(SDataCol *pCol, const void *value, int numOfRows, int maxPo ...@@ -277,7 +277,7 @@ int dataColAppendVal(SDataCol *pCol, const void *value, int numOfRows, int maxPo
pCol->len += varDataTLen(value); pCol->len += varDataTLen(value);
} }
} else { } else {
// update the value of last row with increasing the pCol->len and keeping the numOfRows for paritial update // update the value of last row with increasing the pCol->len and keeping the numOfRows for partial update
ASSERT(pCol->len == (TYPE_BYTES[pCol->type] * (numOfRows - rowOffset))); ASSERT(pCol->len == (TYPE_BYTES[pCol->type] * (numOfRows - rowOffset)));
memcpy(POINTER_SHIFT(pCol->pData, (pCol->len + rowOffset * TYPE_BYTES[pCol->type])), value, pCol->bytes); memcpy(POINTER_SHIFT(pCol->pData, (pCol->len + rowOffset * TYPE_BYTES[pCol->type])), value, pCol->bytes);
if (rowOffset == 0) { if (rowOffset == 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册