I have SQLite database in WAL
mode. Each time I perform a VACUUM
on the database, the journal mode reverts to DELETE
next time I reconnect.
For example:
PRAMGA journal_mode; -- returns wal
VACUUM;
PRAGMA journal_mode; -- returns wal
-- disconnect then reconnect
PRAGMA journal_mode; -- returns delete
Behaviour observed in SQLite 3.7 but appears to be fixed in 3.8.