Home | History | Annotate | Download | only in dist

Lines Matching refs:iTab

8262 SQLITE_PRIVATE int sqlite3BtreeLockTable(Btree *pBtree, int iTab, u8 isWriteLock);
49520 Pgno iTab = 0;
49551 iTab = pIdx->pTable->tnum;
49555 iTab = iRoot;
49558 /* Search for the required lock. Either a write-lock on root-page iTab, a
49560 ** read-lock on iTab will suffice. Return 1 if any of these are found. */
49563 && (pLock->iTable==iTab || (pLock->eLock==WRITE_LOCK && pLock->iTable==1))
49610 ** (READ_LOCK or WRITE_LOCK) on the table with root-page iTab. Return
49614 static int querySharedCacheTableLock(Btree *p, Pgno iTab, u8 eLock){
49621 assert( !(p->db->flags&SQLITE_ReadUncommitted)||eLock==WRITE_LOCK||iTab==1 );
49655 if( pIter->pBtree!=p && pIter->iTable==iTab && pIter->eLock!=eLock ){
57541 ** Obtain a lock on the table whose root page is iTab. The
57545 SQLITE_PRIVATE int sqlite3BtreeLockTable(Btree *p, int iTab, u8 isWriteLock){
57554 rc = querySharedCacheTableLock(p, iTab, lockType);
57556 rc = setSharedCacheTableLock(p, iTab, lockType);
75874 int iTab = pParse->nTab++; /* Cursor of the RHS table */
75915 sqlite3OpenTable(pParse, iTab, iDb, pTab, OP_OpenRead);
75945 sqlite3VdbeAddOp4(v, OP_OpenRead, iTab, pIdx->tnum, iDb,
75980 pX->iTable = iTab;
76440 SQLITE_PRIVATE void sqlite3ExprCacheStore(Parse *pParse, int iTab, int iCol, int iReg){
76463 if( p->iReg && p->iTable==iTab && p->iColumn==iCol ){
76471 assert( p->iReg==0 || p->iTable!=iTab || p->iColumn!=iCol );
76479 p->iTable = iTab;
76500 p->iTable = iTab;
81275 int iTab; /* The root page of the table to be locked */
81283 ** The table to be locked has root page iTab and is found in database iDb.
81293 int iTab, /* Root page number of the table to be locked */
81305 if( p->iDb==iDb && p->iTab==iTab ){
81317 p->iTab = iTab;
81340 sqlite3VdbeAddOp4(pVdbe, OP_TableLock, p1, p->iTab, p->isWriteLock,
83186 int iTab = pTab->tnum;
83193 if( iDestroyed==0 || iTab<iDestroyed ){
83194 iLargest = iTab;
83571 int iTab = pParse->nTab++; /* Btree cursor used for pTab */
83616 iSorter = iTab;
83621 sqlite3OpenTable(pParse, iTab, iDb, pTab, OP_OpenRead);
83622 addr1 = sqlite3VdbeAddOp2(v, OP_Rewind, iTab, 0);
83626 sqlite3GenerateIndexKey(pParse, pIndex, iTab, regRecord, 1);
83628 sqlite3VdbeAddOp2(v, OP_Next, iTab, addr1+1);
83646 regIdxKey = sqlite3GenerateIndexKey(pParse, pIndex, iTab, regRecord, 1);
83673 sqlite3VdbeAddOp1(v, OP_Close, iTab);
95016 ** form a distinct entry. iTab is a sorting index that holds previously
95017 ** seen combinations of the N values. A new entry is made in iTab
95025 int iTab, /* A sorting index used to test for distinctness */
95035 sqlite3VdbeAddOp4Int(v, OP_Found, iTab, addrRepeat, iMem, N);
95037 sqlite3VdbeAddOp2(v, OP_IdxInsert, iTab, r1);
95425 int iTab;
95435 iTab = pOrderBy->iECursor;
95448 addr = 1 + sqlite3VdbeAddOp2(v, OP_SorterSort, iTab, addrBreak);
95450 sqlite3VdbeAddOp2(v, OP_SorterData, iTab, regSortOut);
95454 addr = 1 + sqlite3VdbeAddOp2(v, OP_Sort, iTab, addrBreak);
95456 sqlite3VdbeAddOp3(v, OP_Column, iTab, pOrderBy->nExpr+1, regRow);
95511 sqlite3VdbeAddOp2(v, OP_SorterNext, iTab, addr);
95513 sqlite3VdbeAddOp2(v, OP_Next, iTab, addr);
106061 int iTab;
106067 iTab = pX->iTable;
106068 sqlite3VdbeAddOp2(v, OP_Rewind, iTab, 0);
106080 pIn->iCur = iTab;
106082 pIn->addrInTop = sqlite3VdbeAddOp2(v, OP_Rowid, iTab, iReg);
106084 pIn->addrInTop = sqlite3VdbeAddOp3(v, OP_Column, iTab, 0, iReg);