Skip to content

Splits multi-row inserts with semicolons - #1

Merged
zainphp merged 1 commit into
mainfrom
patch
Apr 27, 2026
Merged

Splits multi-row inserts with semicolons#1
zainphp merged 1 commit into
mainfrom
patch

Conversation

@zainphp

@zainphp zainphp commented Apr 27, 2026

Copy link
Copy Markdown
Owner

Adds logic to split multi-row INSERT statements when a semicolon appears within a single-quoted string value.

This change ensures that semicolons within string literals do not incorrectly terminate the SQL statement, allowing for proper conversion of multi-row inserts. It also refactors how apostrophes are escaped within insert statements to use standard SQLite escaping.

Adds logic to split multi-row INSERT statements when a semicolon appears within a single-quoted string value.

This change ensures that semicolons within string literals do not incorrectly terminate the SQL statement, allowing for proper conversion of multi-row inserts. It also refactors how apostrophes are escaped within insert statements to use standard SQLite escaping.
@zainphp
zainphp merged commit 2929e79 into main Apr 27, 2026
1 check passed
@zainphp
zainphp deleted the patch branch April 27, 2026 19:56
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.

1 participant