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

fix(engine/sqlite): fix grammer to avoid missing join_constraint #2732

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

orisano
Copy link
Contributor

@orisano orisano commented Sep 14, 2023

close #2729

ANTLR's API has difficulty handling the case where there is no join_constraint corresponding to join_operator in join_clause, so an empty join_constraint is accepted.

It is defined as such in the sqlite documentation.
https://www.sqlite.org/syntax/join-clause.html
https://www.sqlite.org/syntax/join-constraint.html

close sqlc-dev#2729

ANTLR's API has difficulty handling the case where there is no join_constraint
corresponding to join_operator in join_clause, so an empty join_constraint is accepted.

It is defined as such in the sqlite documentation.
https://www.sqlite.org/syntax/join-clause.html
https://www.sqlite.org/syntax/join-constraint.html
@kyleconroy kyleconroy merged commit e465d0b into sqlc-dev:main Sep 14, 2023
8 checks passed
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sqlc panics on v1.21.0 in sqlite.getTables
2 participants