Home | History | Annotate | Download | only in dist

Lines Matching defs:sharable

58553   BtShared *pBt;     /* Sharable content of this btree */
58555 u8 sharable; /* True if we can share pBt with another db */
58561 Btree *pNext; /* List of other sharable Btrees from the same db */
58645 BtShared *pNext; /* Next on a list of sharable BtShared structs */
58951 ** If the object is not sharable, then no mutex is ever required
58973 assert( p->sharable || (p->pNext==0 && p->pPrev==0) );
58977 assert( p->sharable || p->wantToLock==0 );
58982 /* Unless the database is sharable and unlocked, then BtShared.db
58984 assert( (p->locked==0 && p->sharable) || p->pBt->db==p->db );
58986 if( !p->sharable ) return;
59017 assert( pLater->sharable );
59038 if( p->sharable ){
59050 ** B-Tree is not marked as sharable.
59055 assert( p->sharable==0 || p->locked==0 || p->wantToLock>0 );
59056 assert( p->sharable==0 || p->locked==0 || p->db==p->pBt->db );
59057 assert( p->sharable==0 || p->locked==0 || sqlite3_mutex_held(p->pBt->mutex) );
59058 assert( p->sharable==0 || p->locked==0 || sqlite3_mutex_held(p->db->mutex) );
59060 return (p->sharable==0 || p->locked);
59086 if( p && p->sharable ){
59124 if( p && p->sharable &&
59154 return p->sharable==0 || p->locked==1;
59333 ** When writing to an index that resides in a sharable database, the
59358 if( (pBtree->sharable==0)
59468 if( !p->sharable ){
59513 ** (a) The specified Btree object p is connected to a sharable
59514 ** database (one with the BtShared.sharable flag set), and
59538 /* This function should only be called on a sharable b-tree after it
59540 assert( p->sharable );
59592 assert( p->sharable || 0==*ppIter );
61466 p->sharable = 1;
61513 /* In debug mode, we mark all persistent databases as sharable
61518 p->sharable = 1;
61597 /* Add the new BtShared object to the linked list sharable BtShareds.
61600 if( p->sharable ){
61619 /* If the new Btree uses a sharable pBtShared, then link the new
61620 ** Btree into the list of all sharable Btrees for the same connection.
61623 if( p->sharable ){
61627 if( (pSib = db->aDb[i].pBt)!=0 && pSib->sharable ){
61796 if( !p->sharable || removeFromSharingList(pBt) ){
62501 if( p->sharable ){
63390 /* The following assert statements verify that if this is a sharable
68911 if( p->sharable ){
69050 ** Return true if the Btree passed as the only argument is sharable.
69053 return p->sharable;
69062 testcase( p->sharable );
69137 ** Non-sharable Btrees (in-memory databases for example), do not have
125381 ** or, if the virtual table is stored in a non-sharable database, then