Lines Matching refs:sharable
59749 BtShared *pBt; /* Sharable content of this btree */
59751 u8 sharable; /* True if we can share pBt with another db */
59757 Btree *pNext; /* List of other sharable Btrees from the same db */
59841 BtShared *pNext; /* Next on a list of sharable BtShared structs */
60150 ** If the object is not sharable, then no mutex is ever required
60172 assert( p->sharable || (p->pNext==0 && p->pPrev==0) );
60176 assert( p->sharable || p->wantToLock==0 );
60181 /* Unless the database is sharable and unlocked, then BtShared.db
60183 assert( (p->locked==0 && p->sharable) || p->pBt->db==p->db );
60185 if( !p->sharable ) return;
60216 assert( pLater->sharable );
60237 if( p->sharable ){
60249 ** B-Tree is not marked as sharable.
60254 assert( p->sharable==0 || p->locked==0 || p->wantToLock>0 );
60255 assert( p->sharable==0 || p->locked==0 || p->db==p->pBt->db );
60256 assert( p->sharable==0 || p->locked==0 || sqlite3_mutex_held(p->pBt->mutex) );
60257 assert( p->sharable==0 || p->locked==0 || sqlite3_mutex_held(p->db->mutex) );
60259 return (p->sharable==0 || p->locked);
60285 if( p && p->sharable ){
60323 if( p && p->sharable &&
60353 return p->sharable==0 || p->locked==1;
60560 ** When writing to an index that resides in a sharable database, the
60585 if( (pBtree->sharable==0)
60695 if( !p->sharable ){
60740 ** (a) The specified Btree object p is connected to a sharable
60741 ** database (one with the BtShared.sharable flag set), and
60765 /* This function should only be called on a sharable b-tree after it
60767 assert( p->sharable );
60819 assert( p->sharable || 0==*ppIter );
62730 p->sharable = 1;
62777 /* In debug mode, we mark all persistent databases as sharable
62782 p->sharable = 1;
62863 /* Add the new BtShared object to the linked list sharable BtShareds.
62866 if( p->sharable ){
62885 /* If the new Btree uses a sharable pBtShared, then link the new
62886 ** Btree into the list of all sharable Btrees for the same connection.
62889 if( p->sharable ){
62893 if( (pSib = db->aDb[i].pBt)!=0 && pSib->sharable ){
63062 if( !p->sharable || removeFromSharingList(pBt) ){
63783 if( p->sharable ){
64668 /* The following assert statements verify that if this is a sharable
70230 if( p->sharable ){
70369 ** Return true if the Btree passed as the only argument is sharable.
70372 return p->sharable;
70381 testcase( p->sharable );
70456 ** Non-sharable Btrees (in-memory databases for example), do not have
127610 ** or, if the virtual table is stored in a non-sharable database, then