fix mysql comment fast parser param node isn't equal normal parser param node

This commit is contained in:
wangt1xiuyi
2023-05-09 02:43:58 +00:00
committed by ob-robot
parent 9c70a896ab
commit fda1d9f41b
2 changed files with 10 additions and 2 deletions

View File

@ -911,6 +911,7 @@ int ObParser::parse_sql(const ObString &stmt,
// if is multi_values_parser opt not need retry
if (lib::is_mysql_mode() && !parse_result.is_multi_values_parser_) {
parse_result.enable_compatible_comment_ = false;
parse_result.mysql_compatible_comment_ = false;
if (OB_FAIL(sql_parser.parse(stmt.ptr(), stmt.length(), parse_result))) {
//do nothing.
}