Re: [sqlite] Ensure WAL file for sqlite3_snapshot_get

2019-10-13 Thread Keith Medcalf
On Sunday, 13 October, 2019 01:41, Adam Levy wrote: >One of the requirements for sqlite3_snapshot_get is that "One or more >transactions must have been written to the current wal file since it was >created on disk (by any connection). This means that a snapshot cannot be >taken on a wal mode dat

[sqlite] Ensure WAL file for sqlite3_snapshot_get

2019-10-13 Thread Adam Levy
One of the requirements for sqlite3_snapshot_get is that "One or more transactions must have been written to the current wal file since it was created on disk (by any connection). This means that a snapshot cannot be taken on a wal mode database with no wal file immediately after it is first opened