Skip to content

refactor: reuse statement execution for batch commands - #292

Merged
chrispader merged 2 commits into
mainfrom
refactor/extract-and-reuse-helper-functions
Jul 23, 2026
Merged

chrispader merged 2 commits into
mainfrom
refactor/extract-and-reuse-helper-functions

Conversation

@chrispader

@chrispader chrispader commented Jul 23, 2026 •

Copy link
Copy Markdown
Member

Summary

  • extract shared SQLite statement preparation and row-consumption helpers
  • execute batch and imported SQL commands without materializing query result rows
  • use RAII to finalize prepared statements and avoid copying batch commands
  • report zero affected rows for read-only batch commands

@chrispader
chrispader merged commit a41a4b1 into main Jul 23, 2026
9 checks passed
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