fix:add json test case
This commit is contained in:
parent
80047eab07
commit
125c0fa575
|
@ -866,8 +866,7 @@ static char* parseTagDatatoJson(void* p) {
|
||||||
if (j == 0) {
|
if (j == 0) {
|
||||||
if (*val == TSDB_DATA_TYPE_NULL) {
|
if (*val == TSDB_DATA_TYPE_NULL) {
|
||||||
string = taosMemoryCalloc(1, 8);
|
string = taosMemoryCalloc(1, 8);
|
||||||
sprintf(varDataVal(string), "%s", TSDB_DATA_NULL_STR_L);
|
sprintf(string, "%s", TSDB_DATA_NULL_STR_L);
|
||||||
varDataSetLen(string, strlen(varDataVal(string)));
|
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue