Home | History | Annotate | Download | only in dist

Lines Matching refs:sharable

44713   BtShared *pBt;     /* Sharable content of this btree */
44715 u8 sharable; /* True if we can share pBt with another db */
44719 Btree *pNext; /* List of other sharable Btrees from the same db */
44802 BtShared *pNext; /* Next on a list of sharable BtShared structs */
45051 ** If the object is not sharable, then no mutex is ever required
45075 assert( p->sharable || (p->pNext==0 && p->pPrev==0) );
45079 assert( p->sharable || p->wantToLock==0 );
45084 /* Unless the database is sharable and unlocked, then BtShared.db
45086 assert( (p->locked==0 && p->sharable) || p->pBt->db==p->db );
45088 if( !p->sharable ) return;
45108 assert( pLater->sharable );
45127 if( p->sharable ){
45139 ** B-Tree is not marked as sharable.
45144 assert( p->sharable==0 || p->locked==0 || p->wantToLock>0 );
45145 assert( p->sharable==0 || p->locked==0 || p->db==p->pBt->db );
45146 assert( p->sharable==0 || p->locked==0 || sqlite3_mutex_held(p->pBt->mutex) );
45147 assert( p->sharable==0 || p->locked==0 || sqlite3_mutex_held(p->db->mutex) );
45149 return (p->sharable==0 || p->locked);
45189 assert( !p || (p->locked==0 && p->sharable) || p->pBt->db==p->db );
45190 if( p && p->sharable ){
45217 if( p && p->sharable ){
45242 if( p && p->sharable &&
45267 if( pBtree==0 || pBtree->sharable==0 ) return;
45308 /* The Btree is sharable because only sharable Btrees are entered
45310 assert( p->sharable );
45467 ** When writing to an index that resides in a sharable database, the
45492 if( (pBtree->sharable==0)
45596 if( !p->sharable ){
45641 ** (a) The specified Btree object p is connected to a sharable
45642 ** database (one with the BtShared.sharable flag set), and
45666 /* This function should only be called on a sharable b-tree after it
45668 assert( p->sharable );
45720 assert( p->sharable || 0==*ppIter );
47121 p->sharable = 1;
47156 /* In debug mode, we mark all persistent databases as sharable
47161 p->sharable = 1;
47233 /* Add the new BtShared object to the linked list sharable BtShareds.
47235 if( p->sharable ){
47256 /* If the new Btree uses a sharable pBtShared, then link the new
47257 ** Btree into the list of all sharable Btrees for the same connection.
47260 if( p->sharable ){
47264 if( (pSib = db->aDb[i].pBt)!=0 && pSib->sharable ){
47401 if( !p->sharable || removeFromSharingList(pBt) ){
47971 if( p->sharable ){
48798 /* The following assert statements verify that if this is a sharable
53385 if( p->sharable ){
53573 ** Non-sharable Btrees (in-memory databases for example), do not have
94763 ** or, if the virtual table is stored in a non-sharable database, then