FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bug: fix a crash with an invalid query following MODIFY QUERY by swgillespie · Pull Request #215 · AfterShip/clickhouse-sql-parser · GitHub

bug: fix a crash with an invalid query following MODIFY QUERY - #215

Merged
git-hulk merged 1 commit into
AfterShip:masterfrom
swgillespie:swgillespie/alter-table-segv
Nov 20, 2025
Merged

bug: fix a crash with an invalid query following MODIFY QUERY#215
git-hulk merged 1 commit into
AfterShip:masterfrom
swgillespie:swgillespie/alter-table-segv

Conversation

Copy link
Copy Markdown
Contributor

ALTER TABLE foo MODIFY QUERY crashed the parser with a sigsegv due to a missing error check; this commit adds the missing check and a regression test.

ALTER TABLE foo MODIFY QUERY <an invalid query> crashed the parser with a sigsegv due to a missing error check; this commit adds the missing check and a regression test.

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 19513181714

Details

  • 4 of 4 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.04%) to 51.014%

Totals
Change from base Build 19489508572: 0.04%
Covered Lines: 7898
Relevant Lines: 15482

💛 - Coveralls

git-hulk merged commit 3f5e89d into AfterShip:master Nov 20, 2025
2 checks passed

Copy link
Copy Markdown
Member

@swgillespie Thanks for your great catch!

swgillespie deleted the swgillespie/alter-table-segv branch November 24, 2025 17:38
orian referenced this pull request in orian/clickhouse-sql-parser May 13, 2026
ALTER TABLE foo MODIFY QUERY <an invalid query> crashed the parser with a sigsegv due to a missing error check; this commit adds the missing check and a regression test.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL