Skip to content

Releases: vaelii/vaelii-sqlite

Release list

v0.13.0

Choose a tag to compare

@vaelii-admin vaelii-admin released this 26 Aug 02:02

The second release of the SQLite adapter: the absent database is answered,
and the quiet doors are quiet.

com.vaelii/sqlite is an Apache-2.0 adapter on the SSPL engine. It depends
on core; core never depends on it. open-kb reaches it lazily through the
:sqlite records axis.

  • A source over a file no sink has written answers absent. read-manifest
    on a file with no image tables answers nil — the seam's absent case — so a
    first-run load-index! reports {:index :rebuild :reason :absent} instead of
    throwing no such table, and drop-image! skips a table that is not there,
    as its docstring says.
  • The four quiet doors are quiet. put-provenance, delete-provenance!,
    mark-premise and unmark-premise! gate on id-ok? the way every fetch
    does, so a handle this store could never have issued — an informant keyword —
    is a no-op rather than a driver error or a ClassCastException out of the
    cache key.
  • A failed open releases its connection. sqlite-record-store and
    sqlite-sink close the connection they borrowed when construction throws
    past the borrow, so a retried open of a corrupt or locked file no longer
    leaks a handle and its WAL per attempt.

The number. The engine, the plugin and both adapters ship one version
string, checked at the cut. Requires core 0.13.0.