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

TD-6129<feature> fix json encode error

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