We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54027b6 commit 44ceedaCopy full SHA for 44ceeda
tests/sqlparser_common.rs
@@ -11125,16 +11125,9 @@ fn parse_trailing_comma() {
11125
);
11126
trailing_commas.verified_stmt(r#"SELECT "from" FROM "from""#);
11127
11128
- // doesn't allow any trailing commas
+ // doesn't allow all trailing commas
11129
let trailing_commas = TestedDialects::new(vec![Box::new(GenericDialect {})]);
11130
11131
- assert_eq!(
11132
- trailing_commas
11133
- .parse_sql_statements("SELECT name, age, from employees;")
11134
- .unwrap_err(),
11135
- ParserError::ParserError("Expected an expression, found: from".to_string())
11136
- );
11137
-
11138
assert_eq!(
11139
trailing_commas
11140
.parse_sql_statements("REVOKE USAGE, SELECT, ON p TO u")
0 commit comments