Skip to content

Commit cee711d

Browse files
Make INVISIBLE keyword match all dialects
Removed the MySQL dialect check and made it match all dialects.
1 parent 685d76c commit cee711d

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/parser/mod.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8144,10 +8144,7 @@ impl<'a> Parser<'a> {
81448144
Keyword::REPLACE,
81458145
])?,
81468146
)))
8147-
} else if dialect_of!(self is MySqlDialect | GenericDialect)
8148-
&& self.parse_keyword(Keyword::INVISIBLE)
8149-
{
8150-
// Support INVISIBLE for MySQL
8147+
} else if self.parse_keyword(Keyword::INVISIBLE) {
81518148
Ok(Some(ColumnOption::Invisible))
81528149
} else {
81538150
Ok(None)

0 commit comments

Comments
 (0)