Skip to content

test: add an in-memory SQLite oracle over the same fixtures - #52

Merged
Aybavs merged 1 commit into
mainfrom
test/44-sqlite-oracle
Aug 4, 2026
Merged

test: add an in-memory SQLite oracle over the same fixtures#52
Aybavs merged 1 commit into
mainfrom
test/44-sqlite-oracle

Conversation

@Aybavs

@Aybavs Aybavs commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Loads the catalog and its CSV rows into an in-memory SQLite database so the same query can be answered by a reference implementation. Empty CSV fields stay NULL rather than becoming zero values, and Catalog.Tables() returns tables sorted by name so loading is deterministic.

modernc.org/sqlite is pure Go (no CGO) and is imported only from internal/difftest, which nothing outside its own tests imports — go list -deps ./cmd/minisql contains no SQLite driver.

Note: the driver requires Go 1.25, so the module now declares go 1.25.0 (previously 1.22). An older driver release would have kept 1.22, but its transitive dependencies pull the requirement back up regardless, so pinning the whole tree would be brittle for little gain.

Closes #44

@Aybavs
Aybavs merged commit 4f7b958 into main Aug 4, 2026
1 check passed
@Aybavs
Aybavs deleted the test/44-sqlite-oracle branch August 4, 2026 10:58
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.

test: add an in-memory SQLite oracle over the same fixtures

1 participant