1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-06 15:49:35 +03:00

Experimental "PRAGMA query_only=BOOLEAN" statement that is able to turn

write capabilities on and off.

FossilOrigin-Name: ece960c496717a3a6c25526ef77dd76b08d607bc
This commit is contained in:
drh
2013-07-10 13:33:49 +00:00
parent 49afe3aaa0
commit 13447bf6c7
5 changed files with 18 additions and 9 deletions

View File

@@ -1009,6 +1009,7 @@ struct sqlite3 {
#define SQLITE_PreferBuiltin 0x00100000 /* Preference to built-in funcs */
#define SQLITE_LoadExtension 0x00200000 /* Enable load_extension */
#define SQLITE_EnableTrigger 0x00400000 /* True to enable triggers */
#define SQLITE_QueryOnly 0x00800000 /* Disable database changes */
/*
** Bits of the sqlite3.dbOptFlags field that are used by the