Home | History | Annotate | Download | only in dist

Lines Matching refs:iRoot

49495 ** table with root page iRoot.   Return 1 if it does and 0 if not.
49497 ** For example, when writing to a table with root-page iRoot via
49500 ** assert( hasSharedCacheTableLock(pBtree, iRoot, 0, WRITE_LOCK) );
49509 ** Instead of a lock on the table/index rooted at page iRoot, the caller may
49515 Pgno iRoot, /* Root page of b-tree */
49516 int isIndex, /* True if iRoot is the root of an index b-tree */
49550 if( pIdx->tnum==(int)iRoot ){
49555 iTab = iRoot;
49580 ** table or index rooted at iRoot because other shared connections are
49585 ** the iRoot table. Except, if the other Btree object has the
49590 ** rooted at page iRoot, one should call:
49592 ** assert( !hasReadConflicts(pBtree, iRoot) );
49594 static int hasReadConflicts(Btree *pBtree, Pgno iRoot){
49597 if( p->pgnoRoot==iRoot
50005 ** the table with root-page iRoot. Usually, this is called just before cursor
50008 static int saveAllCursors(BtShared *pBt, Pgno iRoot, BtCursor *pExcept){
50013 if( p!=pExcept && (0==iRoot || p->pgnoRoot==iRoot) &&
98911 int iRoot = pTab->tnum; /* Root page of scanned b-tree */
98920 ** In this case set iRoot to the root page number of the index b-tree
98935 iRoot = pBest->tnum;
98940 sqlite3VdbeAddOp3(v, OP_OpenRead, iCsr, iRoot, iDb);