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

Add the experimental "query_only" pragma.

FossilOrigin-Name: 6557c407983b067449deb76bc4c5248de64e07dc
This commit is contained in:
drh
2013-07-11 15:22:31 +00:00
7 changed files with 91 additions and 11 deletions

View File

@@ -1011,6 +1011,8 @@ struct sqlite3 {
#define SQLITE_LoadExtension 0x00200000 /* Enable load_extension */
#define SQLITE_EnableTrigger 0x00400000 /* True to enable triggers */
#define SQLITE_DeferFKs 0x00800000 /* Defer all FK constraints */
#define SQLITE_QueryOnly 0x01000000 /* Disable database changes */
/*
** Bits of the sqlite3.dbOptFlags field that are used by the