Home | History | Annotate | Download | only in orig

Lines Matching defs:pSrcList

11630 ** names.  The context consists of a list of tables (the pSrcList) field and
11651 SrcList *pSrcList; /* One or more tables used to resolve names */
12264 SrcList *pSrcList; /* FROM clause */
76954 ** that name in the set of source tables in pSrcList and make the pExpr
76961 ** from pSrcList.
76992 struct SrcList_item *pItem; /* Use for looping over pSrcList items */
76993 struct SrcList_item *pMatch = 0; /* The matching pSrcList item */
77035 SrcList *pSrcList = pNC->pSrcList;
77037 if( pSrcList ){
77038 for(i=0, pItem=pSrcList->a; i<pSrcList->nSrc; i++, pItem++){
77092 } /* if( pSrcList ) */
77245 /* If a column from a table in pSrcList is referenced, then record
77246 ** this fact in the pSrcList.a[].colUsed bitmask. Column 0 causes
77272 sqlite3AuthRead(pParse, pExpr, pSchema, pNC->pSrcList);
77380 if( pNC->pSrcList && pNC->pSrcList->nAlloc>0 ){
77381 SrcList *pSrcList = pNC->pSrcList;
77383 for(i=0; i<pNC->pSrcList->nSrc; i++){
77384 assert( pSrcList->a[i].iCursor>=0 && pSrcList->a[i].iCursor<pParse->nTab);
77396 SrcList *pSrcList = pNC->pSrcList;
77398 assert( pSrcList && pSrcList->nSrc==1 );
77399 pItem = pSrcList->a;
77424 /* if( pSrcList==0 ) break; */
77523 while( pNC2 && !sqlite3FunctionUsesThisSrc(pExpr, pNC2->pSrcList) ){
77632 nc.pSrcList = pSelect->pSrc;
77973 sNC.pSrcList = p->pSrc;
78214 sNC.pSrcList = &sSrc;
82263 int nThis; /* Number of references to columns in pSrcList */
82294 ** pSrcList. Return true if they do. Also return true if the function
82296 ** references columns but not columns of tables found in pSrcList.
82298 SQLITE_PRIVATE int sqlite3FunctionUsesThisSrc(Expr *pExpr, SrcList *pSrcList){
82305 cnt.pSrc = pSrcList;
82353 SrcList *pSrcList = pNC->pSrcList;
82363 if( ALWAYS(pSrcList!=0) ){
82364 struct SrcList_item *pItem = pSrcList->a;
82365 for(i=0; i<pSrcList->nSrc; i++, pItem++){
82422 } /* end loop over pSrcList */
82495 assert( pNC->pSrcList!=0 );
89565 ** sqlite3SrcListEnlarge(db, pSrclist, 3, 2);
91176 sNC.pSrcList = pTabList;
94043 sNameContext.pSrcList = pSrc;
102728 if( NEVER(pExpr==0) || pNC->pSrcList==0 ) return 0;
102733 ** extracted from in NameContext.pSrcList. This table may be real
102742 SrcList *pTabList = pNC->pSrcList;
102786 sNC.pSrcList = pS->pSrc;
102831 sNC.pSrcList = pS->pSrc;
102865 sNC.pSrcList = pTabList;
103095 sNC.pSrcList = pSelect->pSrc;
106336 sNC.pSrcList = pTabList;
108395 sNC.pSrcList = pTabList;