Skip to content

refactor: Migrated from github.com/mattn/go-sqlite3 to modernc.org/sqlite - #115

Merged
m-t-a97 merged 1 commit into
mainfrom
refactor/migrate-sqlite-library
Sep 9, 2026
Merged

m-t-a97 merged 1 commit into
mainfrom
refactor/migrate-sqlite-library

Conversation

@m-t-a97

@m-t-a97 m-t-a97 commented Sep 8, 2026

Copy link
Copy Markdown
Member

Swaps the cgo-backed SQLite driver for the pure Go modernc.org/sqlite, dropping the C toolchain requirement from the build (Makefile, Dockerfile, CI updated accordingly). Also restores two driver defaults modernc doesn't set on its own:

  • _timezone=UTC (mattn parsed timestamps as UTC; modernc resolves them to local time) and _busy_timeout=5000 (prevents SQLITE_BUSY under pooled writers).
  • Added internal/sqlitedsn to apply both consistently across every SQLite connection.

Closes #113

…lite

Swaps the cgo-backed SQLite driver for the pure Go modernc.org/sqlite,
dropping the C toolchain requirement from the build (Makefile,
Dockerfile, CI updated accordingly).

Also restores two driver defaults modernc doesn't set on its own:
_timezone=UTC (mattn parsed timestamps as UTC; modernc resolves them to
local time) and _busy_timeout=5000 (prevents SQLITE_BUSY under pooled
writers). Added internal/sqlitedsn to apply both consistently across
every SQLite connection.
@m-t-a97 m-t-a97 self-assigned this Sep 8, 2026
@m-t-a97
m-t-a97 merged commit 2058c59 into main Sep 9, 2026
6 checks passed
@m-t-a97
m-t-a97 deleted the refactor/migrate-sqlite-library branch September 9, 2026 00:43
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.

Migrate SQLite driver from mattn/go-sqlite3 to modernc.org/sqlite

1 participant