Small. Fast. Reliable.
Choose any three.

SQLite Requirement Matrix Details
db_readonly.html

Index Summary Markup Original


R-29639-16887-16584-30400-13663-34877-64046-50311 tcl slt th3 src

The sqlite3_db_readonly(D,N) interface returns 1 if the database N of connection D is read-only, 0 if it is read/write, or -1 if N is not the name of a database on connection D.

tcl/rdonly.test:36

/* IMP: R-29639-16887 */
# EVIDENCE-OF: R-29639-16887 The sqlite3_db_readonly(D,N) interface
# returns 1 if the database N of connection D is read-only, 0 if it is
# read/write, or -1 if N is not the name of a database on connection D.