Lines Matching refs:pSrcList
20517 SrcList *pSrcList; /* One or more tables used to resolve names */ member
21402 SrcList *pSrcList; /* FROM clause */ member
110826 SrcList *pSrcList = pNC->pSrcList; local
110828 if( pSrcList ){
110829 for(i=0, pItem=pSrcList->a; i<pSrcList->nSrc; i++, pItem++){
111326 sqlite3AuthRead(pParse, pExpr, pSchema, pNC->pSrcList);
111470 if( pNC->pSrcList && pNC->pSrcList->nAlloc>0 ){
111471 SrcList *pSrcList = pNC->pSrcList; local
111473 for(i=0; i<pNC->pSrcList->nSrc; i++){
111474 assert( pSrcList->a[i].iCursor>=0 && pSrcList->a[i].iCursor<pParse->nTab);
111486 SrcList *pSrcList = pNC->pSrcList; local
111488 assert( pSrcList && pSrcList->nSrc>=1 );
111489 pItem = pSrcList->a;
111840 && sqlite3ReferencesSrcList(pParse, pExpr, pNC2->pSrcList)==0
112034 nc.pSrcList = pSelect->pSrc;
112450 sNC.pSrcList = p->pSrc;
112815 sNC.pSrcList = pSrc;
115578 const SrcList *pSrcList, /* Complete FROM clause */ argument
115582 const SrcItem *pSrc = &pSrcList->a[iSrc];
115593 && (pSrcList->a[0].fg.jointype & JT_LTORJ)!=0 /* Fast pre-test of (6b) */
115597 if( pExpr->w.iJoin==pSrcList->a[jj].iCursor ){
115598 if( (pSrcList->a[jj].fg.jointype & JT_LTORJ)!=0 ){
120023 SQLITE_PRIVATE int sqlite3ReferencesSrcList(Parse *pParse, Expr *pExpr, SrcList *pSrcList){ argument
120034 x.pRef = pSrcList;
120230 SrcList *pSrcList = pNC->pSrcList; local
120249 for(i=0; i<pSrcList->nSrc; i++){
120250 if( pSrcList->a[i].iCursor==pIEpr->iDataCur ){
120255 if( i>=pSrcList->nSrc ) break;
120284 if( ALWAYS(pSrcList!=0) ){
120285 SrcItem *pItem = pSrcList->a;
120286 for(i=0; i<pSrcList->nSrc; i++, pItem++){
120400 assert( pNC->pSrcList!=0 );
121962 sNC.pSrcList = pSrc;
121988 sNC.pSrcList = 0;
133339 sNC.pSrcList = pTabList;
138043 sNameContext.pSrcList = pSrc;
150932 assert( pNC->pSrcList!=0 );
150943 SrcList *pTabList = pNC->pSrcList;
150993 sNC.pSrcList = pS->pSrc;
151039 sNC.pSrcList = pS->pSrc;
151072 sNC.pSrcList = pTabList;
151361 sNC.pSrcList = pSelect->pSrc;
154131 SrcList *pSrcList, /* The complete from clause of the outer query */ argument
154137 pSrc = &pSrcList->a[iSrc];
154199 nChng += pushDownWhereTerms(pParse, pSubq, pWhere->pRight, pSrcList, iSrc);
154205 && (pSrcList->a[0].fg.jointype & JT_LTORJ)!=0 /* Fast pre-test of (9c) */
154209 if( pWhere->w.iJoin==pSrcList->a[jj].iCursor ){
154214 if( (pSrcList->a[jj].fg.jointype & JT_RIGHT)!=0 ){
154246 if( sqlite3ExprIsSingleTableConstraint(pWhere, pSrcList, iSrc, 1) ){
157420 sNC.pSrcList = pTabList;
160203 sNC.pSrcList = pTabList;
161233 sNC.pSrcList = pTabList;