0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2024-11-27 03:28:59 +00:00
libsql/libsql-sqlite3/ext/vwal
ad hoc 217ecb84b5
sqlite3 virtual wal v2
Refactor of the virtual wal API. Drop global wals in favor of passing
the wal implementation as an argument to libsql_open.

The WAL interface is split in two sets of virtual methods:
- `create_wal` is passed when opening a sqlite connection. It's role is
  to instantiate a wal.
- `libql_wal` is the wal itself, created by the `create_wal`.

The sqlite3_wal and `sqlite3_create_wal` implementation are completely
decoupled from the wal implementation. They are the default
implementation when using the traditional open methods, and
sqlite3_create_wal is exposed as a global variable, and can be composed
with other wal implementations.
2023-11-30 11:24:47 +01:00
..
vwal.c sqlite3 virtual wal v2 2023-11-30 11:24:47 +01:00