Hi,

https://www.sqlite.org/wal.html says:


*It is not possible to open read-only WAL databases
<https://www.sqlite.org/wal.html#readonly>. The opening process must have
write privileges for "-shm" wal-index
<https://www.sqlite.org/fileformat2.html#walindexformat> shared memory file
associated with the database, if that file exists, or else write access on
the directory containing the database file if the "-shm**" file does not
exist*.



I found out that there is also a problem, if you use SQLite with journaling
and opens the database read-only ( and a hot journal-file exists). I think,
the link https://www.sqlite.org/c3ref/open.html should be updated.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to