SQLite Forum

Detect whether database was opened in shared cache mode
Ok, I understand. Thank you very much for the explanation.

However, if you want to discourage the use of shared cache, you could maybe change the build logic for future SQLite versions. That is, instead of having the option `SQLITE_OMIT_SHARED_CACHE` the option `SQLITE_ENABLE_SHARED_CACHE` could be introduced.