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

TD-6129<feature> move select json->'key' decode logic to client

上级 015c8caa
......@@ -3360,7 +3360,7 @@ static void doSetTagValueInParam(void* pTable, int32_t tagColId, tVariant *tag,
} else if(type == TSDB_DATA_TYPE_JSON){
assert(kvRowLen(val) < bytes);
tVariantCreateFromBinary(tag, val, kvRowLen(val), type);
memcpy(tag->pz + 1, tag->pz, bytes - 1); // move back 1 byte for select type
memcpy(tag->pz + 1, tag->pz, kvRowLen(val) - 1); // move back 1 byte for select type
*(tag->pz) = SELECT_ALL_JSON_TAG;
tag->nLen++;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册