Lines Matching defs:pSrcList
19377 ** names. The context consists of a list of tables (the pSrcList) field and
19398 SrcList *pSrcList; /* One or more tables used to resolve names */
20290 SrcList *pSrcList; /* FROM clause */
106977 ** that name in the set of source tables in pSrcList and make the pExpr
106984 ** from pSrcList.
107015 SrcItem *pItem; /* Use for looping over pSrcList items */
107016 SrcItem *pMatch = 0; /* The matching pSrcList item */
107068 SrcList *pSrcList = pNC->pSrcList;
107070 if( pSrcList ){
107071 for(i=0, pItem=pSrcList->a; i<pSrcList->nSrc; i++, pItem++){
107238 } /* if( pSrcList ) */
107541 /* If a column from a table in pSrcList is referenced, then record
107542 ** this fact in the pSrcList.a[].colUsed bitmask. Column 0 causes
107571 sqlite3AuthRead(pParse, pExpr, pSchema, pNC->pSrcList);
107695 if( pNC->pSrcList && pNC->pSrcList->nAlloc>0 ){
107696 SrcList *pSrcList = pNC->pSrcList;
107698 for(i=0; i<pNC->pSrcList->nSrc; i++){
107699 assert( pSrcList->a[i].iCursor>=0 && pSrcList->a[i].iCursor<pParse->nTab);
107711 SrcList *pSrcList = pNC->pSrcList;
107713 assert( pSrcList && pSrcList->nSrc>=1 );
107714 pItem = pSrcList->a;
108048 && sqlite3ReferencesSrcList(pParse, pExpr, pNC2->pSrcList)==0
108239 nc.pSrcList = pSelect->pSrc;
108650 sNC.pSrcList = p->pSrc;
109003 sNC.pSrcList = &sSrc;
111620 ** pSrc = &pSrcList->a[iSrc]. In other words, check to see if pExpr
111664 const SrcList *pSrcList, /* Complete FROM clause */
111665 int iSrc, /* Which element of pSrcList to use */
111668 const SrcItem *pSrc = &pSrcList->a[iSrc];
111679 && (pSrcList->a[0].fg.jointype & JT_LTORJ)!=0 /* Fast pre-test of (6b) */
111683 if( pExpr->w.iJoin==pSrcList->a[jj].iCursor ){
111684 if( (pSrcList->a[jj].fg.jointype & JT_LTORJ)!=0 ){
115620 ** Check to see if pExpr references any tables in pSrcList.
115623 ** 1 pExpr does references a table in pSrcList.
115626 ** pSrcList or in subqueries of pExpr itself.
115634 SQLITE_PRIVATE int sqlite3ReferencesSrcList(Parse *pParse, Expr *pExpr, SrcList *pSrcList){
115645 x.pRef = pSrcList;
115834 SrcList *pSrcList = pNC->pSrcList;
115853 for(i=0; i<pSrcList->nSrc; i++){
115854 if( pSrcList->a[0].iCursor==pIEpr->iDataCur ) break;
115856 if( i>=pSrcList->nSrc ) break;
115885 if( ALWAYS(pSrcList!=0) ){
115886 SrcItem *pItem = pSrcList->a;
115887 for(i=0; i<pSrcList->nSrc; i++, pItem++){
115893 } /* end loop over pSrcList */
115994 assert( pNC->pSrcList!=0 );
117520 sNC.pSrcList = pSrc;
117546 sNC.pSrcList = 0;
128057 sNC.pSrcList = pTabList;
132048 sNameContext.pSrcList = pSrc;
144804 assert( pNC->pSrcList!=0 );
144808 ** extracted from in NameContext.pSrcList. This table may be real
144815 SrcList *pTabList = pNC->pSrcList;
144861 sNC.pSrcList = pS->pSrc;
144907 sNC.pSrcList = pS->pSrc;
144940 sNC.pSrcList = pTabList;
145225 sNC.pSrcList = pSelect->pSrc;
148055 SrcList *pSrcList, /* The complete from clause of the outer query */
148061 pSrc = &pSrcList->a[iSrc];
148123 nChng += pushDownWhereTerms(pParse, pSubq, pWhere->pRight, pSrcList, iSrc);
148129 && (pSrcList->a[0].fg.jointype & JT_LTORJ)!=0 /* Fast pre-test of (9c) */
148133 if( pWhere->w.iJoin==pSrcList->a[jj].iCursor ){
148138 if( (pSrcList->a[jj].fg.jointype & JT_RIGHT)!=0 ){
148170 if( sqlite3ExprIsSingleTableConstraint(pWhere, pSrcList, iSrc, 1) ){
150983 sNC.pSrcList = pTabList;
153725 sNC.pSrcList = pTabList;
154761 sNC.pSrcList = pTabList;