[bugfix][mysqltest]: fast_parser support ANSI_QUOTES.
This commit is contained in:
@ -1901,7 +1901,7 @@ int ObFastParserMysql::process_string(const char quote)
|
|||||||
ret = OB_ERR_PARSER_SYNTAX;
|
ret = OB_ERR_PARSER_SYNTAX;
|
||||||
LOG_WARN("parser syntax error", K(ret), K(raw_sql_.to_string()), K_(raw_sql_.cur_pos));
|
LOG_WARN("parser syntax error", K(ret), K(raw_sql_.to_string()), K_(raw_sql_.cur_pos));
|
||||||
} else if (is_ansi_quotes && quote == '"') {
|
} else if (is_ansi_quotes && quote == '"') {
|
||||||
cur_token_type_ = IGNORE_TOKEN;
|
cur_token_type_ = NORMAL_TOKEN;
|
||||||
} else {
|
} else {
|
||||||
char *buf = nullptr;
|
char *buf = nullptr;
|
||||||
cur_token_type_ = PARAM_TOKEN;
|
cur_token_type_ = PARAM_TOKEN;
|
||||||
|
|||||||
Reference in New Issue
Block a user