未验证 提交 5a92eb4f 编写于 作者: M Minglei Jin 提交者: GitHub

Merge pull request #13409 from taosdata/fix/TS-1501-V26

fix(client): V26 schemaless support blank comma equal sign mark [TS-1501]
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册