diff --git a/src/client/src/tscParseLineProtocol.c b/src/client/src/tscParseLineProtocol.c index 8c92c86c194034f17f3cb05b15dec0e8e1b87f1e..cc7c825b3a4e72512c2a6e644924ccb5340f51cf 100644 --- a/src/client/src/tscParseLineProtocol.c +++ b/src/client/src/tscParseLineProtocol.c @@ -2096,8 +2096,8 @@ static int32_t parseSmlValue(TAOS_SML_KV *pKV, const char **index, back_slash = false; cur++; len++; - break; - } + break; + } if (*cur == '"') { if (cur == *index) { @@ -2191,18 +2191,6 @@ static int32_t parseSmlValue(TAOS_SML_KV *pKV, const char **index, len++; break; - case ',': - /* fall through */ - case '=': - /* fall through */ - case ' ': - if (*(cur - 1) != '\\') { - tscError("SML:0x%"PRIx64" tag value: state(%d), character(%c) not escaped", info->id, tag_state, *cur); - ret = TSDB_CODE_TSC_LINE_SYNTAX_ERROR; - kv_done = true; - } - break; - case '\0': tscError("SML:0x%"PRIx64" tag value: state(%d), closing \" not found", info->id, tag_state); ret = TSDB_CODE_TSC_LINE_SYNTAX_ERROR;