Lines Matching refs:pTabList

382   SrcList *pTabList,   /* A list of all tables to be scanned */  in sqliteWhereBegin()  argument
403 assert( pushKey==0 || pTabList->nSrc==1 ); in sqliteWhereBegin()
422 pWInfo = sqliteMalloc( sizeof(WhereInfo) + pTabList->nSrc*sizeof(WhereLevel)); in sqliteWhereBegin()
428 pWInfo->pTabList = pTabList; in sqliteWhereBegin()
435 if( pWhere && (pTabList->nSrc==0 || sqliteExprIsConstant(pWhere)) ){ in sqliteWhereBegin()
482 for(i=0; i<pTabList->nSrc && i<ARRAYSIZE(iDirectEq); i++){ in sqliteWhereBegin()
484 int iCur = pTabList->a[i].iCursor; /* The cursor for this table */ in sqliteWhereBegin()
486 Table *pTab = pTabList->a[i].pTab; in sqliteWhereBegin()
664 if( ppOrderBy && *ppOrderBy && pTabList->nSrc>0 ){ in sqliteWhereBegin()
670 pTab = pTabList->a[0].pTab; in sqliteWhereBegin()
685 pSortIdx = findSortingIndex(pTab, pTabList->a[0].iCursor, in sqliteWhereBegin()
701 for(i=0; i<pTabList->nSrc; i++){ in sqliteWhereBegin()
705 pTab = pTabList->a[i].pTab; in sqliteWhereBegin()
708 sqliteVdbeOp3(v, OP_OpenRead, pTabList->a[i].iCursor, pTab->tnum, in sqliteWhereBegin()
720 for(i=0; i<pTabList->nSrc; i++){ in sqliteWhereBegin()
722 int iCur = pTabList->a[i].iCursor; in sqliteWhereBegin()
730 if( i>0 && (pTabList->a[i-1].jointype & JT_LEFT)!=0 ){ in sqliteWhereBegin()
859 if( i==pTabList->nSrc-1 && pushKey ){ in sqliteWhereBegin()
1122 if( i==pTabList->nSrc-1 && pushKey ){ in sqliteWhereBegin()
1180 sqliteVdbeAddOp(v, OP_Recno, pTabList->a[0].iCursor, 0); in sqliteWhereBegin()
1194 SrcList *pTabList = pWInfo->pTabList; in sqliteWhereEnd() local
1196 for(i=pTabList->nSrc-1; i>=0; i--){ in sqliteWhereEnd()
1210 sqliteVdbeAddOp(v, OP_NullRow, pTabList->a[i].iCursor, 0); in sqliteWhereEnd()
1218 for(i=0; i<pTabList->nSrc; i++){ in sqliteWhereEnd()
1219 Table *pTab = pTabList->a[i].pTab; in sqliteWhereEnd()
1223 sqliteVdbeAddOp(v, OP_Close, pTabList->a[i].iCursor, 0); in sqliteWhereEnd()