Skip to content
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

Parser: Add support for the DEFAULT ROLE clause in CREATE USER and ALTER USER statements #60385

Open
joshvarner opened this issue Apr 2, 2025 · 0 comments · May be fixed by #60386
Open

Parser: Add support for the DEFAULT ROLE clause in CREATE USER and ALTER USER statements #60385

joshvarner opened this issue Apr 2, 2025 · 0 comments · May be fixed by #60386
Labels
type/feature-request Categorizes issue or PR as related to a new feature.

Comments

@joshvarner
Copy link

Feature Request

Is your feature request related to a problem? Please describe:

Currently the parser fails to handle valid MySQL statements, such as:

CREATE USER foo DEFAULT ROLE bar;

This has downstream effects with libraries & tools like go-mysql/canal that will fail to handle these statements when a default role is specified.

Describe the feature you'd like:

The parser should be updated to support the DEFAULT ROLE clause in both CREATE USER and ALTER USER statements.

@joshvarner joshvarner added the type/feature-request Categorizes issue or PR as related to a new feature. label Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature-request Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant