Skip to content

Splits multi-row inserts with semicolons#1

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

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

Conversation

@dominosaurs
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.
@dominosaurs dominosaurs merged commit 2929e79 into main Apr 27, 2026
1 check passed
@dominosaurs dominosaurs 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