Lines Matching refs:iTab
7976 SQLITE_PRIVATE int sqlite3BtreeLockTable(Btree *pBtree, int iTab, u8 isWriteLock);
47643 Pgno iTab = 0;
47674 iTab = pIdx->pTable->tnum;
47678 iTab = iRoot;
47686 && (pLock->iTable==iTab || (pLock->eLock==WRITE_LOCK && pLock->iTable==1))
47737 static int querySharedCacheTableLock(Btree *p, Pgno iTab, u8 eLock){
47744 assert( !(p->db->flags&SQLITE_ReadUncommitted)||eLock==WRITE_LOCK||iTab==1 );
47778 if( pIter->pBtree!=p && pIter->iTable==iTab && pIter->eLock!=eLock ){
55570 SQLITE_PRIVATE int sqlite3BtreeLockTable(Btree *p, int iTab, u8 isWriteLock){
55579 rc = querySharedCacheTableLock(p, iTab, lockType);
55581 rc = setSharedCacheTableLock(p, iTab, lockType);
72653 int iTab = pParse->nTab++; /* Cursor of the RHS table */
72688 sqlite3OpenTable(pParse, iTab, iDb, pTab, OP_OpenRead);
72720 sqlite3VdbeAddOp4(v, OP_OpenRead, iTab, pIdx->tnum, iDb,
72753 pX->iTable = iTab;
73216 SQLITE_PRIVATE void sqlite3ExprCacheStore(Parse *pParse, int iTab, int iCol, int iReg){
73239 if( p->iReg && p->iTable==iTab && p->iColumn==iCol ){
73247 assert( p->iReg==0 || p->iTable!=iTab || p->iColumn!=iCol );
73255 p->iTable = iTab;
73276 p->iTable = iTab;
77383 int iTab; /* The root page of the table to be locked */
77401 int iTab, /* Root page number of the table to be locked */
77413 if( p->iDb==iDb && p->iTab==iTab ){
77425 p->iTab = iTab;
77448 sqlite3VdbeAddOp4(pVdbe, OP_TableLock, p1, p->iTab, p->isWriteLock,
79295 int iTab = pTab->tnum;
79302 if( iDestroyed==0 || iTab<iDestroyed ){
79303 iLargest = iTab;
79649 int iTab = pParse->nTab++; /* Btree cursor used for pTab */
79684 sqlite3OpenTable(pParse, iTab, iDb, pTab, OP_OpenRead);
79685 addr1 = sqlite3VdbeAddOp2(v, OP_Rewind, iTab, 0);
79687 regIdxKey = sqlite3GenerateIndexKey(pParse, pIndex, iTab, regRecord, 1);
79709 sqlite3VdbeAddOp2(v, OP_Next, iTab, addr1+1);
79711 sqlite3VdbeAddOp1(v, OP_Close, iTab);
90947 int iTab, /* A sorting index used to test for distinctness */
90957 sqlite3VdbeAddOp4Int(v, OP_Found, iTab, addrRepeat, iMem, N);
90959 sqlite3VdbeAddOp2(v, OP_IdxInsert, iTab, r1);
91347 int iTab;
91357 iTab = pOrderBy->iECursor;
91366 addr = 1 + sqlite3VdbeAddOp2(v, OP_Sort, iTab, addrBreak);
91368 sqlite3VdbeAddOp3(v, OP_Column, iTab, pOrderBy->nExpr + 1, regRow);
91421 sqlite3VdbeAddOp2(v, OP_Next, iTab, addr);
101615 int iTab;
101621 iTab = pX->iTable;
101622 sqlite3VdbeAddOp2(v, OP_Rewind, iTab, 0);
101634 pIn->iCur = iTab;
101636 pIn->addrInTop = sqlite3VdbeAddOp2(v, OP_Rowid, iTab, iReg);
101638 pIn->addrInTop = sqlite3VdbeAddOp3(v, OP_Column, iTab, 0, iReg);