SQLite Forum

Disk I/O error on cifs volume
Login
If, truly,

> There's no chance that the database is written or corrupted

, then you could use the immutable=1 parameter in the URI to be opened.

Keith's suggestion (nolock=1) is somewhat safer if you're mistaken and the database is overwritten or modified while your application runs.