fix:add json test case

This commit is contained in:
wangmm0220 2022-05-23 18:12:05 +08:00
parent 80047eab07
commit 125c0fa575
1 changed files with 1 additions and 2 deletions

View File

@ -866,8 +866,7 @@ static char* parseTagDatatoJson(void* p) {
if (j == 0) {
if (*val == TSDB_DATA_TYPE_NULL) {
string = taosMemoryCalloc(1, 8);
sprintf(varDataVal(string), "%s", TSDB_DATA_NULL_STR_L);
varDataSetLen(string, strlen(varDataVal(string)));
sprintf(string, "%s", TSDB_DATA_NULL_STR_L);
goto end;
}
continue;