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

TD-6129<feature> fix select * from json tag

上级 bc39d7f6
...@@ -733,7 +733,7 @@ static void setResRawPtrImpl(SSqlRes* pRes, SInternalField* pInfo, int32_t i, bo ...@@ -733,7 +733,7 @@ static void setResRawPtrImpl(SSqlRes* pRes, SInternalField* pInfo, int32_t i, bo
if(json) { if(json) {
memcpy(varDataVal(dst), json, strlen(json)); memcpy(varDataVal(dst), json, strlen(json));
varDataSetLen(dst, strlen(json)); varDataSetLen(dst, strlen(json));
assert(varDataTLen(dst) <= pInfo->field.type); assert(varDataTLen(dst) <= pInfo->field.bytes);
tfree(json); tfree(json);
} }
}else if (*p == SELECT_ELEMENT_JSON_TAG){ }else if (*p == SELECT_ELEMENT_JSON_TAG){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册