Skip to content

Avoid scanning SQL line prefixes for non-delimiters - #42999

Merged
serge-rider merged 2 commits into
dbeaver:develfrom
qq2514568380:fix/sql-batch-delimiter-42995
Nov 26, 2026
Merged

serge-rider merged 2 commits into
dbeaver:develfrom
qq2514568380:fix/sql-batch-delimiter-42995

Conversation

@qq2514568380

Copy link
Copy Markdown
Contributor

Check line boundaries only after matching a batch delimiter and its suffix. Restore the scanner to the original offset for rejected candidates.

Fixes #42995.

Validation: static review and diff check only. No local builds or runtime tests were run.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity

Metric Results
Complexity 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@E1izabeth

Copy link
Copy Markdown
Member

Thanks for the contribution!

@E1izabeth

Copy link
Copy Markdown
Member

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T13:08:07.351579Z 9ff1da0 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: 9ff1da067a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@serge-rider
serge-rider merged commit 2662cc1 into dbeaver:devel Nov 26, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SQL editor freezes on scripts with very long lines: SQLBatchDelimiterRule.hasOnlyWhitespaceBefore is O(column) per token

3 participants