I know that I can open multiple connections to an In-Memory sqlite database
using file:DB_NAME?mode=memory&cache=shared in sqlite3_open_v2().

I open 2 connections to an In-Memory database. One with the flags
SQLITE_OPEN_URI
| SQLITE_OPEN_CREATE | SQLITE_OPEN_READWRITE and another with
SQLITE_OPEN_READONLY
| SQLITE_OPEN_URI.

The problem is that sqlite lets me modify the database even when the
connection is Read-Only.

Is there any way to make the connection Read-Only? Should I write my own
VFS to accomplish it?
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to