opti:deal with escape in the end of field in schemaless
This commit is contained in:
parent
d62b82c295
commit
5be0cc7c84
|
@ -485,8 +485,8 @@ int32_t smlParseInfluxString(SSmlHandle *info, char *sql, char *sqlEnd, SSmlLine
|
||||||
if (unlikely(IS_SPACE(tmp,escapeChar))) {
|
if (unlikely(IS_SPACE(tmp,escapeChar))) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if(unlikely(IS_SLASH_LETTER_IN_TAG_FIELD_KEY(sql))){
|
if(unlikely(IS_SLASH_LETTER_IN_TAG_FIELD_KEY(tmp))){
|
||||||
escapeChar = sql;
|
escapeChar = tmp;
|
||||||
}
|
}
|
||||||
tmp++;
|
tmp++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue