New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support all privileges of MariaDB 10.6 in MariaDB grammar #3075
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We already have separated grammar for MariaDB: https://github.com/antlr/grammars-v4/tree/master/sql/mariadb
@uurl could you check if it's correct to add MariaDB changes to the current grammar? Or they should be added to the separated grammar.
04eb4e5
to
ae53be5
Compare
@KvanTTT Yes, I saw that and updated this MR. 😄 |
ae53be5
to
00bb66d
Compare
Some privileges supported by MariaDB are missing from the grammar.
This change set adds the missing tokens and tests them against a
GRANT
query with all privileges supported by MariaDB 10.6.x: https://mariadb.com/docs/server/ref/es10.6/privileges/