-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
sqlparser errors on auto_increment not null
but handles not null auto_increment
#5685
Comments
This seems to be fixed, I tested it on master.
For the second ordering
I think we can close this issue. |
Please re-open if it's not really fixed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The order of
auto_increment not null
vsnot null auto_increment
increate table
statements doesn't matter to mysql, but sqlparser returns an error in the first case.That is, this statement errors out when parsed:
while this one parses fine:
Sample code:
That will produce
and we'd like to not see that first error.
The text was updated successfully, but these errors were encountered: