Home | History | Annotate | Download | only in dist

Lines Matching defs:sharable

48811   BtShared *pBt;     /* Sharable content of this btree */
48813 u8 sharable; /* True if we can share pBt with another db */
48817 Btree *pNext; /* List of other sharable Btrees from the same db */
48897 BtShared *pNext; /* Next on a list of sharable BtShared structs */
49158 ** If the object is not sharable, then no mutex is ever required
49182 assert( p->sharable || (p->pNext==0 && p->pPrev==0) );
49186 assert( p->sharable || p->wantToLock==0 );
49191 /* Unless the database is sharable and unlocked, then BtShared.db
49193 assert( (p->locked==0 && p->sharable) || p->pBt->db==p->db );
49195 if( !p->sharable ) return;
49215 assert( pLater->sharable );
49234 if( p->sharable ){
49246 ** B-Tree is not marked as sharable.
49251 assert( p->sharable==0 || p->locked==0 || p->wantToLock>0 );
49252 assert( p->sharable==0 || p->locked==0 || p->db==p->pBt->db );
49253 assert( p->sharable==0 || p->locked==0 || sqlite3_mutex_held(p->pBt->mutex) );
49254 assert( p->sharable==0 || p->locked==0 || sqlite3_mutex_held(p->db->mutex) );
49256 return (p->sharable==0 || p->locked);
49311 ** no lock is ever required since it is not sharable.
49314 return p->sharable;
49332 if( p && p->sharable &&
49362 return p->sharable==0 || p->locked==1;
49502 ** When writing to an index that resides in a sharable database, the
49527 if( (pBtree->sharable==0)
49631 if( !p->sharable ){
49676 ** (a) The specified Btree object p is connected to a sharable
49677 ** database (one with the BtShared.sharable flag set), and
49701 /* This function should only be called on a sharable b-tree after it
49703 assert( p->sharable );
49755 assert( p->sharable || 0==*ppIter );
51157 p->sharable = 1;
51199 /* In debug mode, we mark all persistent databases as sharable
51204 p->sharable = 1;
51276 /* Add the new BtShared object to the linked list sharable BtShareds.
51278 if( p->sharable ){
51299 /* If the new Btree uses a sharable pBtShared, then link the new
51300 ** Btree into the list of all sharable Btrees for the same connection.
51303 if( p->sharable ){
51307 if( (pSib = db->aDb[i].pBt)!=0 && pSib->sharable ){
51444 if( !p->sharable || removeFromSharingList(pBt) ){
52023 if( p->sharable ){
52861 /* The following assert statements verify that if this is a sharable
57548 if( p->sharable ){
57737 ** Non-sharable Btrees (in-memory databases for example), do not have
101697 ** or, if the virtual table is stored in a non-sharable database, then