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 1c83a65 commit fe0c23fCopy full SHA for fe0c23f
src/parser/mod.rs
@@ -5581,6 +5581,7 @@ 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