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

change json output format

上级 446c6fe2
...@@ -224,7 +224,7 @@ static int32_t tscGetNthFieldResult(TAOS_ROW row, TAOS_FIELD* fields, int *lengt ...@@ -224,7 +224,7 @@ static int32_t tscGetNthFieldResult(TAOS_ROW row, TAOS_FIELD* fields, int *lengt
int32_t length = lengths[idx]; int32_t length = lengths[idx];
if (type == TSDB_DATA_TYPE_JSON){ if (type == TSDB_DATA_TYPE_JSON){
char* p = result; char* p = val;
type = *p; type = *p;
val += CHAR_BYTES; val += CHAR_BYTES;
if(type == TSDB_DATA_TYPE_NCHAR) { if(type == TSDB_DATA_TYPE_NCHAR) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册