Sqlite3 One_file VFS Fails
I was trying to run test_onefile.c example from sqlite3 VFS examples, and I get the following failure: test_onefile: test_onefile.c:693: fsDelete: Assertion `strpcmp('-journal', &a
Solution 1:
The VFS implemented by test_onefile.c
is quite old, and therefore does not support the additional files required for WAL mode.
To make it work with a modern SQLite, the fsDelete
function should just ignore attempts to delete -wal
or -shm
files.
Post a Comment for "Sqlite3 One_file VFS Fails"