Lines Matching refs:iCursor
9976 int iCursor; /* The VDBE cursor number used to access this table */
67786 pExpr->iTable = pItem->iCursor;
67795 pExpr->iTable = pItem->iCursor;
67977 assert( pMatch->iCursor==pExpr->iTable );
68015 p->iTable = pItem->iCursor;
68056 assert( pSrcList->a[i].iCursor>=0 && pSrcList->a[i].iCursor<pParse->nTab);
68074 pExpr->iTable = pItem->iCursor;
69707 pNewItem->iCursor = pOldItem->iCursor;
72356 if( pExpr->iTable==pItem->iCursor ){
72409 } /* endif pExpr->iTable==pItem->iCursor */
74767 if( pExpr->iTable==pTabList->a[iSrc].iCursor ){
76312 sSrc.a[0].iCursor = -1;
77939 pSrc->a[i].iCursor = -1;
78022 if( pItem->iCursor>=0 ) break;
78023 pItem->iCursor = pParse->nTab++;
79296 iCur = pTabList->a[0].iCursor = pParse->nTab++;
81770 pRight->iTable = pSrc->a[0].iCursor;
82040 pItem->iCursor = pParse->nTab++;
88218 if( isOuter ) setJoinExpr(pRight->pOn, pRight->iCursor);
88847 for(j=0;j<pTabList->nSrc && pTabList->a[j].iCursor!=pExpr->iTable;j++);
89021 if( pTabList->a[j].iCursor==p->iTable ) break;
90540 iParent = pSubitem->iCursor;
91613 sqlite3SelectDestInit(&dest, SRT_EphemTab, pItem->iCursor);
93749 pTabList->a[0].iCursor = iCur = pParse->nTab++;
95687 ** SrcList_item.iCursor and Expr.iTable fields. For any given WHERE
95916 ** iCursor is not in the set.
95918 static Bitmask getMask(WhereMaskSet *pMaskSet, int iCursor){
95922 if( pMaskSet->ix[i]==iCursor ){
95930 ** Create a new mask for cursor iCursor.
95937 static void createMask(WhereMaskSet *pMaskSet, int iCursor){
95939 pMaskSet->ix[pMaskSet->n++] = iCursor;
96480 int iCursor = -1; /* Table cursor common to all terms */
96485 ** will be recorded in iCursor and iColumn. There might not be any
96494 if( pOrTerm->leftCursor==iCursor ){
96511 iCursor = pOrTerm->leftCursor;
96519 assert( chngToIN==getMask(pMaskSet, iCursor) );
96529 if( pOrTerm->leftCursor!=iCursor ){
96565 assert( pOrTerm->leftCursor==iCursor );
97104 const int iCur = pSrc->iCursor; /* The cursor of the table to be accessed */
97190 if( pTerm->leftCursor!=pSrc->iCursor ) return 0;
97445 if( pTerm->leftCursor != pSrc->iCursor ) continue;
97461 if( pExpr->op!=TK_COLUMN || pExpr->iTable!=pSrc->iCursor ) break;
97495 if( pTerm->leftCursor != pSrc->iCursor ) continue;
98007 int iCur = pSrc->iCursor; /* The cursor of the table to be accessed */
98844 iCur = pTabItem->iCursor;
99533 ** number pTabList->a[0].iCursor. t2 uses the cursor pTabList->a[1].iCursor.
99692 createMask(pMaskSet, pTabList->a[i].iCursor);
99703 Bitmask m = getMask(pMaskSet, pTabList->a[i].iCursor);
99808 m = getMask(pMaskSet, pTabItem->iCursor);
99882 assert( notReady & getMask(pMaskSet, pTabList->a[bestJ].iCursor) );
99898 notReady &= ~getMask(pMaskSet, pTabList->a[bestJ].iCursor);
99957 pLevel->iTabCur = pTabItem->iCursor;
99966 int iCur = pTabItem->iCursor;
99973 sqlite3OpenTable(pParse, pTabItem->iCursor, iDb, pTab, op);
100003 notReady &= ~getMask(pWC->pMaskSet, pTabItem->iCursor);
100123 sqlite3VdbeAddOp1(v, OP_NullRow, pTabList->a[i].iCursor);
100155 sqlite3VdbeAddOp1(v, OP_Close, pTabItem->iCursor);