diff --git a/src/parser/mod.rs b/src/parser/mod.rs index 36ac2fd28..998d5f9bb 100644 --- a/src/parser/mod.rs +++ b/src/parser/mod.rs @@ -8048,7 +8048,7 @@ impl<'a> Parser<'a> { self.expect_keyword(Keyword::SET)?; let assignments = self.parse_comma_separated(Parser::parse_assignment)?; let from = if self.parse_keyword(Keyword::FROM) - && dialect_of!(self is GenericDialect | PostgreSqlDialect | DuckDbDialect | BigQueryDialect | SnowflakeDialect | RedshiftSqlDialect | MsSqlDialect) + && dialect_of!(self is GenericDialect | PostgreSqlDialect | DuckDbDialect | BigQueryDialect | SnowflakeDialect | RedshiftSqlDialect | MsSqlDialect | SQLiteDialect ) { Some(self.parse_table_and_joins()?) } else { diff --git a/tests/sqlparser_common.rs b/tests/sqlparser_common.rs index fcacb3459..8ceef5075 100644 --- a/tests/sqlparser_common.rs +++ b/tests/sqlparser_common.rs @@ -323,6 +323,7 @@ fn parse_update_set_from() { Box::new(SnowflakeDialect {}), Box::new(RedshiftSqlDialect {}), Box::new(MsSqlDialect {}), + Box::new(SQLiteDialect {}), ], options: None, };