Lines Matching defs:BtShared

16474 typedef struct BtShared BtShared;  typedef
70940 struct BtShared { struct
70941 Pager *pPager; /* The page cache */
70942 sqlite3 *db; /* Database connection currently using this Btree */
70943 BtCursor *pCursor; /* A list of all open cursors */
70944 MemPage *pPage1; /* First page of the database */
70945 u8 openFlags; /* Flags to sqlite3BtreeOpen() */
70947 u8 autoVacuum; /* True if auto-vacuum is enabled */
70948 u8 incrVacuum; /* True if incr-vacuum is enabled */
70949 u8 bDoTruncate; /* True to truncate db on commit */
70951 u8 inTransaction; /* Transaction state */
70952 u8 max1bytePayload; /* Maximum first byte of cell for a 1-byte payload */
70953 u8 nReserveWanted; /* Desired number of extra bytes per page */
70954 u16 btsFlags; /* Boolean parameters. See BTS_* macros below */
70955 u16 maxLocal; /* Maximum local payload in non-LEAFDATA tables */
70956 u16 minLocal; /* Minimum local payload in non-LEAFDATA tables */
70957 u16 maxLeaf; /* Maximum local payload in a LEAFDATA table */
70958 u16 minLeaf; /* Minimum local payload in a LEAFDATA table */
70959 u32 pageSize; /* Total number of bytes on a page */
70960 u32 usableSize; /* Number of usable bytes on each page */
70961 int nTransaction; /* Number of open transactions (read + write) */
70962 u32 nPage; /* Number of pages in the database */
70963 void *pSchema; /* Pointer to space allocated by sqlite3BtreeSchema() */
70964 void (*xFreeSchema)(void*); /* Destructor for BtShared.pSchema */
70965 sqlite3_mutex *mutex; /* Non-recursive mutex required to access this object */
70966 Bitvec *pHasContent; /* Set of pages moved to free-list this transaction */
70968 int nRef; /* Number of references to this structure */
70969 BtShared *pNext; /* Next on a list of sharable BtShared structs */
70970 BtLock *pLock; /* List of locks held on this shared-btree struct */
70971 Btree *pWriter; /* Btree with currently open write transaction */
70973 u8 *pTmpSpace; /* Temp space sufficient to hold a single cell */
70974 int nPreformatSize; /* Size of last cell written by TransferRow() */