You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR replaces the SQLite ANTLR parser with meyer. The commit description also mentions that the previous parser incorrectly handled ORDER BY expressions.
The bisect results confirm that the reported behavior changes at this commit, although I haven't isolated the exact parser change responsible.
3. Conclusion
Based on the reproduction results and git bisect, this issue appears to have been resolved by #4535.
Could a maintainer confirm whether this issue can be closed?
Activity
Kyoya67 commentedon Nov 15, 2026
I investigated this issue and confirmed that it appears to have been resolved by PR #4535.
1. Reproduction
I tested the exact SQL query from this issue using a minimal SQLite schema.
sqlc v1.30.0 — Issue reproduced
The generated code only passes one argument, despite the SQL containing two
?placeholders.Current main — Issue not reproduced
Both parameters are correctly generated and passed to
QueryRowContext.2. Identifying the fix with git bisect
Since the issue was reproducible in v1.30.0 but not on
main, I usedgit bisectto identify the commit where the behavior changed.I created a Bash script that:
QueryRowContext.I then ran
git bisect runto automatically test commits between v1.30.0 andmain, using reversed good/bad classifications to locate the fix.First commit where the issue no longer reproduces:
This PR replaces the SQLite ANTLR parser with
meyer. The commit description also mentions that the previous parser incorrectly handledORDER BYexpressions.The bisect results confirm that the reported behavior changes at this commit, although I haven't isolated the exact parser change responsible.
3. Conclusion
Based on the reproduction results and
git bisect, this issue appears to have been resolved by #4535.Could a maintainer confirm whether this issue can be closed?