diff --git a/src/client/src/tscUtil.c b/src/client/src/tscUtil.c index 0f9e33991d6c47f3b91c62f431abb12e081091d4..25c0db001f715a130cfd4c5c61dcea63e869fa3f 100644 --- a/src/client/src/tscUtil.c +++ b/src/client/src/tscUtil.c @@ -5234,7 +5234,7 @@ end: } int parseJsontoTagData(char* json, SKVRowBuilder* kvRowBuilder, char* errMsg, int16_t startColId){ - cJSON *root = cJSON_Parse(json->pz); + cJSON *root = cJSON_Parse(json); if (root == NULL){ tscError("json parse error"); return tscSQLSyntaxErrMsg(errMsg, "json parse error", NULL);