sqlite3_db_readonly

fnint sqlite3_db_readonly(sqlite3 * db, const char * zDbName)

CAPI3REF: Determine if a database is read-only