Home | History | Annotate | Download | only in orig

Lines Matching defs:sharable

48783   BtShared *pBt;     /* Sharable content of this btree */
48785 u8 sharable; /* True if we can share pBt with another db */
48789 Btree *pNext; /* List of other sharable Btrees from the same db */
48869 BtShared *pNext; /* Next on a list of sharable BtShared structs */
49130 ** If the object is not sharable, then no mutex is ever required
49154 assert( p->sharable
49158 assert( p->sharable || p->wantToLock==0 );
49163 /* Unless the database is sharable and unlocked, then BtShared.db
49165 assert( (p->locked==0 && p->sharable) || p->pBt->db==p->db );
49167 if( !p->sharable ) return;
49187 assert( pLater->sharable );
49206 if( p->sharable ){
49218 ** B-Tree is not marked as sharable.
49223 assert( p->sharable==0 || p->locked==0 || p->wantToLock>0 );
49224 assert( p->sharable==0 || p->locked==0 || p->db==p->pBt->db );
49225 assert( p->sharable==0 || p->locked==0 || sqlite3_mutex_held(p->pBt->mutex) );
49226 assert( p->sharable==0 || p->locked==0 || sqlite3_mutex_held(p->db->mutex) );
49228 return (p->sharable==0 || p->locked);
49283 ** no lock is ever required since it is not sharable.
49286 return p->sharable;
49304 if( p && p->sharable &&
49334 return p->sharable==0 || p->locked==1;
49474 ** When writing to an index that resides in a sharable database, the
49499 if( (pBtree->sharable==0)
49603 if( !p->sharable ){
49648 ** (a) The specified Btree object p is connected to a sharable
49649 ** database (one with the BtShared.sharable flag set), and
49673 /* This function should only be called on a sharable b-tree after it
49675 assert( p->sharable );
49727 assert( p->sharable || 0==*ppIter );
51129 p->sharable = 1;
51171 /* In debug mode, we mark all persistent databases as sharable
51176 p->sharable = 1;
51248 /* Add the new BtShared object to the linked list sharable BtShareds.
51250 if( p->sharable ){
51271 /* If the new Btree uses a sharable pBtShared, then link the new
51272 ** Btree into the list of all sharable Btrees for the same connection.
51275 if( p->sharable ){
51279 if( (pSib = db->aDb[i].pBt)!=0 && pSib->sharable ){
51416 if( !p->sharable || removeFromSharingList(pBt) ){
51995 if( p->sharable ){
52833 /* The following assert statements verify that if this is a sharable
57520 if( p->sharable ){
57709 ** Non-sharable Btrees (in-memory databases for example), do not have
101661 ** or, if the virtual table is stored in a non-sharable database, then