opti:deal with escape in the end of field in schemaless

This commit is contained in:
wangmm0220 2024-02-27 18:07:04 +08:00
parent d62b82c295
commit 5be0cc7c84
1 changed files with 2 additions and 2 deletions

View File

@ -485,8 +485,8 @@ int32_t smlParseInfluxString(SSmlHandle *info, char *sql, char *sqlEnd, SSmlLine
if (unlikely(IS_SPACE(tmp,escapeChar))) {
break;
}
if(unlikely(IS_SLASH_LETTER_IN_TAG_FIELD_KEY(sql))){
escapeChar = sql;
if(unlikely(IS_SLASH_LETTER_IN_TAG_FIELD_KEY(tmp))){
escapeChar = tmp;
}
tmp++;
}