aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2017-01-02 18:19:29 +0000
committerdrh <drh@noemail.net>2017-01-02 18:19:29 +0000
commit38eef3217237f7066e08763100a9147247d135df (patch)
tree1e726fb8ad1ed80ed20c8daa73d59f95f540eaa4 /src/sqliteInt.h
parent197231b16012a0adb93f32dba9238d9bcaef6cfe (diff)
downloadsqlite-38eef3217237f7066e08763100a9147247d135df.tar.gz
sqlite-38eef3217237f7066e08763100a9147247d135df.zip
Avoid unnecessary calls to sqlite3BtreeEnterAll() and sqlite3BtreeLeaveAll()
when no btree is using shared-cache. FossilOrigin-Name: cfb3158204628eb2fd170090a7f212df0e4ce6c9
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index d78d2072d..6a01029b8 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -1296,6 +1296,7 @@ struct sqlite3 {
u8 vtabOnConflict; /* Value to return for s3_vtab_on_conflict() */
u8 isTransactionSavepoint; /* True if the outermost savepoint is a TS */
u8 mTrace; /* zero or more SQLITE_TRACE flags */
+ u8 skipBtreeMutex; /* True if no shared-cache backends */
int nextPagesize; /* Pagesize after VACUUM if >0 */
u32 magic; /* Magic number for detect library misuse */
int nChange; /* Value returned by sqlite3_changes() */