Skip to content

fix(NoTicket): update sqlparse to fix query splitting#489

Merged
goprean merged 1 commit intomainfrom
lorenz/sqlparse
Feb 27, 2026
Merged

fix(NoTicket): update sqlparse to fix query splitting#489
goprean merged 1 commit intomainfrom
lorenz/sqlparse

Conversation

@lorenzhs
Copy link
Contributor

Sqlparse has a bug where it mistakenly splits a query at a semicolon that's actually inside a string literal: andialbrecht/sqlparse#839

Since there are many open sqlparse PRs, it doesn't seem reasonable to wait for upstream to merge the PR and release a new version. Instead, just switch to the fixed fork, and pin to an exact commit (lorenzhs/sqlparse@8d37938)

@lorenzhs lorenzhs requested a review from a team as a code owner February 26, 2026 15:20
@lorenzhs lorenzhs added the bug Something isn't working label Feb 26, 2026
@goprean goprean merged commit 036fd29 into main Feb 27, 2026
5 of 9 checks passed
@goprean goprean deleted the lorenz/sqlparse branch February 27, 2026 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants