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

update

上级 696f1e12
...@@ -670,7 +670,7 @@ int32_t tsParseValues(char **str, STableDataBlocks *pDataBlock, int maxRows, SIn ...@@ -670,7 +670,7 @@ int32_t tsParseValues(char **str, STableDataBlocks *pDataBlock, int maxRows, SIn
} }
if (isConverted) { if (isConverted) {
void *convertedSMemRow = pDataBlock->pData + pDataBlock->size; void *convertedSMemRow = pDataBlock->pData + pDataBlock->size;
memcpy(convertedSMemRow - extendedRowSize, convertedSMemRow, memRowTLen(convertedSMemRow)); memcpy(POINTER_SHIFT(convertedSMemRow, -extendedRowSize), convertedSMemRow, (size_t)memRowTLen(convertedSMemRow));
} }
if ((*numOfRows) <= 0) { if ((*numOfRows) <= 0) {
...@@ -1807,7 +1807,7 @@ static void parseFileSendDataBlock(void *param, TAOS_RES *tres, int32_t numOfRow ...@@ -1807,7 +1807,7 @@ static void parseFileSendDataBlock(void *param, TAOS_RES *tres, int32_t numOfRow
} }
if (isConverted) { if (isConverted) {
void *convertedSMemRow = pTableDataBlock->pData + pTableDataBlock->size; void *convertedSMemRow = pTableDataBlock->pData + pTableDataBlock->size;
memcpy(convertedSMemRow - extendedRowSize, convertedSMemRow, memRowTLen(convertedSMemRow)); memcpy(POINTER_SHIFT(convertedSMemRow, -extendedRowSize), convertedSMemRow, (size_t)memRowTLen(convertedSMemRow));
} }
tfree(tokenBuf); tfree(tokenBuf);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册