Don't add a semicolon to final query when splitting statements by Dtenwolde · Pull Request #20401 · duckdb/duckdb · GitHub
Skip to content

Don't add a semicolon to final query when splitting statements - #20401

Merged
Mytherin merged 2 commits into
duckdb:v1.4-andiumfrom
Dtenwolde:dontaddsemicolon
Jan 7, 2026
Merged

Mytherin merged 2 commits into
duckdb:v1.4-andiumfrom
Dtenwolde:dontaddsemicolon

Conversation

@Dtenwolde

Copy link
Copy Markdown
Member

Fixes: https://github.com/duckdblabs/duckdb-internal/issues/6984

For the final query after splitting I always added a semicolon, but that's problematic for parsers later using these results.

@Mytherin
Mytherin merged commit 3d19ee7 into duckdb:v1.4-andium Jan 7, 2026
56 checks passed
@Mytherin

Mytherin commented Jan 7, 2026

Copy link
Copy Markdown
Member

github-actions Bot pushed a commit to duckdb/duckdb-r that referenced this pull request Jan 7, 2026
[Fix] Defensive infinite loop guard and UTF-8 check in C API (duckdb/duckdb#20348)
Fixup BRANCHES_TO_BE_CACHED, vars are not available on PRs, so env it is (duckdb/duckdb#20411)
Don't add a semicolon to final query when splitting statements (duckdb/duckdb#20401)
github-actions Bot added a commit to duckdb/duckdb-r that referenced this pull request Jan 7, 2026
[Fix] Defensive infinite loop guard and UTF-8 check in C API (duckdb/duckdb#20348)
Fixup BRANCHES_TO_BE_CACHED, vars are not available on PRs, so env it is (duckdb/duckdb#20411)
Don't add a semicolon to final query when splitting statements (duckdb/duckdb#20401)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
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.

2 participants