Lines Matching defs:SrcList

9969 typedef struct SrcList SrcList;
12823 ** the SrcList.a[] array.
12839 struct SrcList {
12877 ** Permitted values of the SrcList.a.jointype field
12938 SrcList *pSrcList; /* One or more tables used to resolve names */
12992 SrcList *pSrc; /* The FROM clause */
13568 SrcList *pSrcList; /* FROM clause */
13885 SQLITE_PRIVATE void sqlite3DropTable(Parse*, SrcList*, int, int);
13895 SQLITE_PRIVATE void sqlite3Insert(Parse*, SrcList*, Select*, IdList*, int);
13899 SQLITE_PRIVATE SrcList *sqlite3SrcListEnlarge(sqlite3*, SrcList*, int, int);
13900 SQLITE_PRIVATE SrcList *sqlite3SrcListAppend(sqlite3*, SrcList*, Token*, Token*);
13901 SQLITE_PRIVATE SrcList *sqlite3SrcListAppendFromTerm(Parse*, SrcList*, Token*, Token*,
13903 SQLITE_PRIVATE void sqlite3SrcListIndexedBy(Parse *, SrcList *, Token *);
13904 SQLITE_PRIVATE void sqlite3SrcListFuncArgs(Parse*, SrcList*, ExprList*);
13906 SQLITE_PRIVATE void sqlite3SrcListShiftJoinType(SrcList*);
13907 SQLITE_PRIVATE void sqlite3SrcListAssignCursors(Parse*, SrcList*);
13909 SQLITE_PRIVATE void sqlite3SrcListDelete(sqlite3*, SrcList*);
13911 SQLITE_PRIVATE Index *sqlite3CreateIndex(Parse*,Token*,Token*,SrcList*,ExprList*,int,Token*,
13913 SQLITE_PRIVATE void sqlite3DropIndex(Parse*, SrcList*, int);
13915 SQLITE_PRIVATE Select *sqlite3SelectNew(Parse*,ExprList*,SrcList*,Expr*,ExprList*,
13918 SQLITE_PRIVATE Table *sqlite3SrcListLookup(Parse*, SrcList*);
13922 SQLITE_PRIVATE Expr *sqlite3LimitWhere(Parse*,SrcList*,Expr*,ExprList*,Expr*,Expr*,char*);
13924 SQLITE_PRIVATE void sqlite3DeleteFrom(Parse*, SrcList*, Expr*);
13925 SQLITE_PRIVATE void sqlite3Update(Parse*, SrcList*, ExprList*, Expr*, int);
13926 SQLITE_PRIVATE WhereInfo *sqlite3WhereBegin(Parse*,SrcList*,Expr*,ExprList*,ExprList*,u16,int);
13975 SQLITE_PRIVATE int sqlite3FunctionUsesThisSrc(Expr*, SrcList*);
14015 SQLITE_PRIVATE SrcList *sqlite3SrcListDup(sqlite3*,SrcList*,int);
14037 SQLITE_PRIVATE void sqlite3BeginTrigger(Parse*, Token*,Token*,int,int,IdList*,SrcList*,
14040 SQLITE_PRIVATE void sqlite3DropTrigger(Parse*, SrcList*, int);
14076 SQLITE_PRIVATE void sqlite3AuthRead(Parse*,Expr*,Schema*,SrcList*);
14090 SQLITE_PRIVATE int sqlite3FixSrcList(DbFixer*, SrcList*);
14195 SQLITE_PRIVATE void sqlite3AlterRenameTable(Parse*, SrcList*, Token*);
14210 SQLITE_PRIVATE void sqlite3AlterBeginAddColumn(Parse *, SrcList *);
14248 SQLITE_PRIVATE Expr *sqlite3CreateColumnExpr(sqlite3 *, SrcList *, int, int);
14357 SQLITE_PRIVATE void sqlite3FkDropTable(Parse*, SrcList *, Table*);
22146 #define etSRCLIST 13 /* a pointer to a SrcList */
22814 SrcList *pSrc = va_arg(ap, SrcList*);
24711 ** %S Insert the first element of a SrcList
24743 ** %S Insert the first element of a SrcList
83421 SrcList *pSrc;
83721 SrcList *pSrcList = pNC->pSrcList;
83986 ** from datasource iSrc in SrcList pSrc.
83988 SQLITE_PRIVATE Expr *sqlite3CreateColumnExpr(sqlite3 *db, SrcList *pSrc, int iSrc, int iCol){
84066 SrcList *pSrcList = pNC->pSrcList;
84081 SrcList *pSrcList = pNC->pSrcList;
84964 SrcList sSrc; /* Fake SrcList for pParse->pNewTable */
85956 ** Any tables that the SrcList might point to are not duplicated.
86002 SQLITE_PRIVATE SrcList *sqlite3SrcListDup(sqlite3 *db, SrcList *p, int flags){
86003 SrcList *pNew;
86535 SrcList *pSrc;
88865 SrcList *pSrc; /* One particular FROM clause in a nested query */
88882 SrcList *pSrc = p->pSrc;
88902 SQLITE_PRIVATE int sqlite3FunctionUsesThisSrc(Expr *pExpr, SrcList *pSrcList){
88957 SrcList *pSrcList = pNC->pSrcList;
89582 SrcList *pSrc, /* The table to rename. */
89938 SQLITE_PRIVATE void sqlite3AlterBeginAddColumn(Parse *pParse, SrcList *pSrc){
92376 SrcList *pList /* The Source list to check and modify */
92646 SrcList *pTabList /* All table that pExpr might refer to */
95275 SQLITE_PRIVATE void sqlite3DropTable(Parse *pParse, SrcList *pName, int isView, int noErr){
95667 SrcList *pTblName, /* Table to index. Use pParse->pNewTable if 0 */
96227 SQLITE_PRIVATE void sqlite3DropIndex(Parse *pParse, SrcList *pName, int ifExists){
96387 ** Expand the space allocated for the given SrcList object by
96391 ** For example, suppose a SrcList initially contains two entries: A,B.
96402 ** If a memory allocation fails the SrcList is unchanged. The
96405 SQLITE_PRIVATE SrcList *sqlite3SrcListEnlarge(
96407 SrcList *pSrc, /* The SrcList to be enlarged */
96421 SrcList *pNew;
96448 /* Return a pointer to the enlarged SrcList */
96454 ** Append a new table name to the given SrcList. Create a new SrcList if
96455 ** need be. A new entry is created in the SrcList even if pTable is NULL.
96457 ** A SrcList is returned, or NULL if there is an OOM error. The returned
96458 ** SrcList might be the same as the SrcList that was input or it might be
96465 ** The SrcList.a[].zName field is filled with the table name which might
96467 ** SrcList.a[].zDatabase is filled with the database name from pTable,
96485 ** before being added to the SrcList.
96487 SQLITE_PRIVATE SrcList *sqlite3SrcListAppend(
96489 SrcList *pList, /* Append to this SrcList. NULL creates a new SrcList */
96496 pList = sqlite3DbMallocZero(db, sizeof(SrcList) );
96520 ** Assign VdbeCursor index numbers to all tables in a SrcList
96522 SQLITE_PRIVATE void sqlite3SrcListAssignCursors(Parse *pParse, SrcList *pList){
96538 ** Delete an entire SrcList including all its substructure.
96540 SQLITE_PRIVATE void sqlite3SrcListDelete(sqlite3 *db, SrcList *pList){
96571 ** Return a new SrcList which encodes is the FROM with the new
96574 SQLITE_PRIVATE SrcList *sqlite3SrcListAppendFromTerm(
96576 SrcList *p, /* The left part of the FROM clause already seen */
96618 SQLITE_PRIVATE void sqlite3SrcListIndexedBy(Parse *pParse, SrcList *p, Token *pIndexedBy){
96637 ** Add the list of function arguments to the SrcList entry for a
96640 SQLITE_PRIVATE void sqlite3SrcListFuncArgs(Parse *pParse, SrcList *p, ExprList *pList){
96668 SQLITE_PRIVATE void sqlite3SrcListShiftJoinType(SrcList *p){
97695 ** While a SrcList can in general represent multiple tables and subqueries
97708 SQLITE_PRIVATE Table *sqlite3SrcListLookup(Parse *pParse, SrcList *pSrc){
97774 SrcList *pFrom;
97804 SrcList *pSrc, /* the FROM clause -- which tables to scan */
97815 SrcList *pSelectSrc = NULL; /* SELECT rowid FROM x ... (dup of pSrc) */
97896 SrcList *pTabList, /* The table from which we should delete things */
97943 ** put in an SrcList structure because some of the subroutines we
97945 ** an SrcList* parameter instead of just a Table* parameter.
100913 SrcList *pSrc, /* The child table to be scanned */
101061 ** being dropped from the database. The SrcList passed as the second argument
101076 SQLITE_PRIVATE void sqlite3FkDropTable(Parse *pParse, SrcList *pName, Table *pTab){
101354 SrcList *pSrc;
101376 /* Create a SrcList structure containing the child table. We need the
101377 ** child table as a SrcList for sqlite3WhereBegin() */
102235 SrcList *pTabList, /* Name of table into which we are inserting */
108739 SrcList *pSrc, /* the FROM clause -- which tables to scan */
108907 SrcList *pSrc, /* Array of tables to search */
108937 ** where tab1 is the iSrc'th table in SrcList pSrc and tab2 is the
108943 SrcList *pSrc, /* List of tables in FROM clause */
109032 SrcList *pSrc; /* All tables in the FROM clause */
109994 SrcList *pTabList = pNC->pSrcList;
110113 SrcList *pTabList, /* List of tables */
110153 SrcList *pTabList, /* List of tables */
110570 ** of recursive-query, marked with the SrcList->a[].fg.isRecursive flag.
110601 SrcList *pSrc = p->pSrc; /* The FROM clause of the recursive query */
111785 SrcList *pSrc;
111958 SrcList *pSrc; /* The FROM clause of the outer query */
111959 SrcList *pSubSrc; /* The FROM clause of the subquery */
112556 SrcList *pNewSrc;
112712 SrcList *pSrc = pFrom->pSelect->pSrc;
112799 ** (2) Fill in the pTabList->a[].pTab fields in the SrcList that
112819 SrcList *pTabList;
113144 SrcList *pTabList;
113408 SrcList *pTabList; /* List of tables to select from */
114546 SrcList *pTableName,/* The name of the table/view the trigger applies to */
114943 SQLITE_PRIVATE void sqlite3DropTrigger(Parse *pParse, SrcList *pName, int noErr){
115122 ** Convert the pStep->zTarget string into a SrcList and return a pointer
115123 ** to that SrcList.
115126 ** forming the SrcList. This prevents a trigger in one database from
115131 static SrcList *targetSrcList(
115137 SrcList *pSrc; /* SrcList to be returned */
115602 SrcList *pSrc, /* The virtual table to be modified */
115672 SrcList *pTabList, /* The table in which we should change things */
116288 SrcList *pSrc, /* The virtual table to be modified */
118410 SrcList *pTabList; /* List of tables in the join */
118452 SrcList *pTabList, /* Table list this loop refers to */
118464 SrcList *pSrclist, /* FROM clause pLvl reads data from */
118483 SQLITE_PRIVATE void sqlite3WhereExprAnalyze(SrcList*, WhereClause*);
118623 SrcList *pTabList, /* Table list this loop refers to */
118735 SrcList *pSrclist, /* FROM clause pLvl reads data from */
119672 SrcList *pOrTab; /* Shortened table list or OR-clause generation */
119695 /* Set up a new SrcList in pOrTab containing the table being scanned
119697 ** This becomes the SrcList in the recursive call to sqlite3WhereBegin().
120058 static void exprAnalyze(SrcList*, WhereClause*, int);
120397 SrcList *pSrc, /* the FROM clause */
120523 SrcList *pSrc, /* the FROM clause */
120815 SrcList *pSrc = pS->pSrc;
120846 SrcList *pFrom, /* The FROM clause */
120897 SrcList *pSrc, /* the FROM clause */
121324 SrcList *pTabList, /* the FROM clause */
121795 SrcList *pTabList, /* The FROM clause */
123934 SrcList *pTabList; /* The FROM clause */
124456 SrcList *pTabList = pWInfo->pTabList;
125368 SrcList *pTabList, /* FROM clause: A list of all tables to be scanned */
125813 SrcList *pTabList = pWInfo->pTabList;
126231 SrcList* yy65;
128447 SrcList *pFrom;
129013 SrcList *pSrc = sqlite3SrcListAppend(pParse->db, 0,&yymsp[-1].minor.yy0,&yymsp[0].minor.yy0);