Lines Matching refs:iTab
2144 SrcItem *pItem = pWInfo->pTabList->a + p->iTab; in sqlite3WhereLoopPrint()
2148 p->iTab, nb, p->maskSelf, nb, p->prereq & mAll); in sqlite3WhereLoopPrint()
2358 if( p->iTab!=pTemplate->iTab ) continue; in whereLoopAdjustCost()
2402 if( p->iTab!=pTemplate->iTab || p->iSortIdx!=pTemplate->iSortIdx ){ in whereLoopFindLesser()
2655 || (pWC->pWInfo->pTabList->a[pLoop->iTab].fg.jointype in whereLoopOutputAdjust()
3220 int iTab, /* The table for which we want an index */ in whereUsablePartialIndex() argument
3232 if( !whereUsablePartialIndex(iTab,jointype,pWC,pWhere->pLeft) ) return 0; in whereUsablePartialIndex()
3239 if( (!ExprHasProperty(pExpr, EP_OuterON) || pExpr->w.iJoin==iTab) in whereUsablePartialIndex()
3241 && sqlite3ExprImpliesExpr(pParse, pExpr, pWhere, iTab) in whereUsablePartialIndex()
3396 pSrc = pTabList->a + pNew->iTab; in whereLoopAddBtree()
3498 testcase( pNew->iTab!=pSrc->iCursor ); /* See ticket [98d973b8f5] */ in whereLoopAddBtree()
3690 SrcItem *pSrc = &pBuilder->pWInfo->pTabList->a[pNew->iTab]; in whereLoopAddVirtualOne()
4018 pSrc = &pWInfo->pTabList->a[pNew->iTab]; in whereLoopAddVirtual()
4146 pItem = pWInfo->pTabList->a + pNew->iTab; in whereLoopAddOr()
4259 int iTab; in whereLoopAddAll() local
4280 for(iTab=0, pItem=pTabList->a; pItem<pEnd; iTab++, pItem++){ in whereLoopAddAll()
4282 pNew->iTab = iTab; in whereLoopAddAll()
4442 iCur = pWInfo->pTabList->a[pLoop->iTab].iCursor; in wherePathSatisfiesOrderBy()
5095 pLevel->iFrom = pWLoop->iTab; in wherePathSolver()
5372 pItem = &pWInfo->pTabList->a[pLoop->iTab]; in whereOmitNoopJoin()
5442 SrcItem *pItem = &pWInfo->pTabList->a[pLoop->iTab]; in whereCheckIfBloomFilterIsUseful()