提交 9b454bd3 编写于 作者: wmmhello's avatar wmmhello

TD-6129<feature> fix json encode error

上级 e84ba7c9
......@@ -557,8 +557,8 @@ static FORCE_INLINE int tdAddColToKVRow(SKVRowBuilder *pBuilder, int16_t colId,
pBuilder->nCols++;
void *jumpType = value;
if(isJumpJsonVType) jumpType = value + CHAR_BYTES;
char *jumpType = value;
if(isJumpJsonVType) jumpType += CHAR_BYTES;
int tlen = IS_VAR_DATA_TYPE(type) ? varDataTLen(jumpType) : TYPE_BYTES[type];
if (tlen > pBuilder->alloc - pBuilder->size) {
while (tlen > pBuilder->alloc - pBuilder->size) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册