Home | History | Annotate | Download | only in orig

Lines Matching refs:iRoot

49467 ** table with root page iRoot.   Return 1 if it does and 0 if not.
49469 ** For example, when writing to a table with root-page iRoot via
49472 ** assert( hasSharedCacheTableLock(pBtree, iRoot, 0, WRITE_LOCK) );
49481 ** Instead of a lock on the table/index rooted at page iRoot, the caller may
49487 Pgno iRoot, /* Root page of b-tree */
49488 int isIndex, /* True if iRoot is the root of an index b-tree */
49522 if( pIdx->tnum==(int)iRoot ){
49527 iTab = iRoot;
49552 ** table or index rooted at iRoot because other shared connections are
49557 ** the iRoot table. Except, if the other Btree object has the
49562 ** rooted at page iRoot, one should call:
49564 ** assert( !hasReadConflicts(pBtree, iRoot) );
49566 static int hasReadConflicts(Btree *pBtree, Pgno iRoot){
49569 if( p->pgnoRoot==iRoot
49977 ** the table with root-page iRoot. Usually, this is called just before cursor
49980 static int saveAllCursors(BtShared *pBt, Pgno iRoot, BtCursor *pExcept){
49985 if( p!=pExcept && (0==iRoot || p->pgnoRoot==iRoot) &&
98875 int iRoot = pTab->tnum; /* Root page of scanned b-tree */
98884 ** In this case set iRoot to the root page number of the index b-tree
98899 iRoot = pBest->tnum;
98904 sqlite3VdbeAddOp3(v, OP_OpenRead, iCsr, iRoot, iDb);