File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -19682,11 +19682,4 @@ mod tests {
1968219682 assert!(Parser::parse_sql(&GenericDialect, &sql).is_err());
1968319683 }
1968419684 }
19685-
19686- #[test]
19687- fn test_key_value_options_trailing_semicolon() {
19688- let sql = "CREATE USER u1 option1 = 'value1' option2 = 'value2';";
19689- let ast = Parser::parse_sql(&GenericDialect, sql);
19690- assert!(ast.is_ok());
19691- }
1969219685}
Original file line number Diff line number Diff line change @@ -18052,3 +18052,11 @@ fn parse_overlap_as_bool_and() {
1805218052 let dialects = all_dialects_where(|d| d.supports_double_ampersand_operator());
1805318053 dialects.one_statement_parses_to("SELECT x && y", "SELECT x AND y");
1805418054}
18055+
18056+ #[test]
18057+ fn test_parse_key_value_options_trailing_semicolon() {
18058+ one_statement_parses_to(
18059+ "CREATE USER u1 option1='value1' option2='value2';",
18060+ "CREATE USER u1 option1='value1' option2='value2'",
18061+ );
18062+ }
You can’t perform that action at this time.
0 commit comments