aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2005-12-30 16:28:01 +0000
committerdanielk1977 <danielk1977@noemail.net>2005-12-30 16:28:01 +0000
commitaef0bf64299f8ed3bfd53880f6ac7327d650b9fa (patch)
treed71d4c28bff1cc7af6b69509cfd9ccf93291879b /src/sqliteInt.h
parentfaa59554c38c568e13a3da5e1f5267e305218f24 (diff)
downloadsqlite-aef0bf64299f8ed3bfd53880f6ac7327d650b9fa.tar.gz
sqlite-aef0bf64299f8ed3bfd53880f6ac7327d650b9fa.zip
Add part of the btree layer of the shared-cache feature. (CVS 2848)
FossilOrigin-Name: 2afcad990190af97d1ad0010f211a5ca8f0fd745
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 6868e240b..f735aa408 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -11,7 +11,7 @@
*************************************************************************
** Internal interface definitions for SQLite.
**
-** @(#) $Id: sqliteInt.h,v 1.445 2005/12/29 23:33:54 drh Exp $
+** @(#) $Id: sqliteInt.h,v 1.446 2005/12/30 16:28:02 danielk1977 Exp $
*/
#ifndef _SQLITEINT_H_
#define _SQLITEINT_H_
@@ -289,6 +289,11 @@ struct SqliteTsd {
Pager *pPager; /* Linked list of all pagers in this thread */
#endif
+#ifndef SQLITE_OMIT_SHARED_CACHE
+ u8 useSharedData; /* True if shared pagers and schemas are enabled */
+ BtShared *pBtree;
+#endif
+
#ifdef SQLITE_MEMDEBUG
i64 nMaxAlloc; /* High water mark of SqliteTsd.nAlloc */
int mallocAllowed; /* assert() in sqlite3Malloc() if not set */