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.
parse_create_trigger
1 parent 2163b34 commit cb9ec89Copy full SHA for cb9ec89
src/parser/mod.rs
@@ -5581,7 +5581,6 @@ impl<'a> Parser<'a> {
5581
is_constraint: bool,
5582
) -> Result<Statement, ParserError> {
5583
if !dialect_of!(self is PostgreSqlDialect | SQLiteDialect | GenericDialect | MySqlDialect | MsSqlDialect)
5584
- || dialect_of!(self is SQLiteDialect) && (or_alter || or_replace || is_constraint)
5585
{
5586
self.prev_token();
5587
return self.expected("an object type after CREATE", self.peek_token());
0 commit comments