Lines Matching refs:SrcList
7393 typedef struct SrcList SrcList;
9945 ** the SrcList.a[] array.
9961 struct SrcList {
9986 ** Permitted values of the SrcList.a.jointype field
10092 SrcList *pTabList; /* List of tables in the join */
10126 SrcList *pSrcList; /* One or more tables used to resolve names */
10163 SrcList *pSrc; /* The FROM clause */
10814 SQLITE_PRIVATE void sqlite3DropTable(Parse*, SrcList*, int, int);
10823 SQLITE_PRIVATE void sqlite3Insert(Parse*, SrcList*, ExprList*, Select*, IdList*, int);
10827 SQLITE_PRIVATE SrcList *sqlite3SrcListEnlarge(sqlite3*, SrcList*, int, int);
10828 SQLITE_PRIVATE SrcList *sqlite3SrcListAppend(sqlite3*, SrcList*, Token*, Token*);
10829 SQLITE_PRIVATE SrcList *sqlite3SrcListAppendFromTerm(Parse*, SrcList*, Token*, Token*,
10831 SQLITE_PRIVATE void sqlite3SrcListIndexedBy(Parse *, SrcList *, Token *);
10833 SQLITE_PRIVATE void sqlite3SrcListShiftJoinType(SrcList*);
10834 SQLITE_PRIVATE void sqlite3SrcListAssignCursors(Parse*, SrcList*);
10836 SQLITE_PRIVATE void sqlite3SrcListDelete(sqlite3*, SrcList*);
10837 SQLITE_PRIVATE Index *sqlite3CreateIndex(Parse*,Token*,Token*,SrcList*,ExprList*,int,Token*,
10839 SQLITE_PRIVATE void sqlite3DropIndex(Parse*, SrcList*, int);
10841 SQLITE_PRIVATE Select *sqlite3SelectNew(Parse*,ExprList*,SrcList*,Expr*,ExprList*,
10844 SQLITE_PRIVATE Table *sqlite3SrcListLookup(Parse*, SrcList*);
10848 SQLITE_PRIVATE Expr *sqlite3LimitWhere(Parse *, SrcList *, Expr *, ExprList *, Expr *, Expr *, char *);
10850 SQLITE_PRIVATE void sqlite3DeleteFrom(Parse*, SrcList*, Expr*);
10851 SQLITE_PRIVATE void sqlite3Update(Parse*, SrcList*, ExprList*, Expr*, int);
10852 SQLITE_PRIVATE WhereInfo *sqlite3WhereBegin(Parse*, SrcList*, Expr*, ExprList**, u16);
10916 SQLITE_PRIVATE SrcList *sqlite3SrcListDup(sqlite3*,SrcList*,int);
10933 SQLITE_PRIVATE void sqlite3BeginTrigger(Parse*, Token*,Token*,int,int,IdList*,SrcList*,
10936 SQLITE_PRIVATE void sqlite3DropTrigger(Parse*, SrcList*, int);
10970 SQLITE_PRIVATE void sqlite3AuthRead(Parse*,Expr*,Schema*,SrcList*);
10984 SQLITE_PRIVATE int sqlite3FixSrcList(DbFixer*, SrcList*);
11078 SQLITE_PRIVATE void sqlite3AlterRenameTable(Parse*, SrcList*, Token*);
11089 SQLITE_PRIVATE void sqlite3AlterBeginAddColumn(Parse *, SrcList *);
11119 SQLITE_PRIVATE Expr *sqlite3CreateColumnExpr(sqlite3 *, SrcList *, int, int);
11201 SQLITE_PRIVATE void sqlite3FkDropTable(Parse*, SrcList *, Table*);
18306 #define etSRCLIST 13 /* a pointer to a SrcList */
18929 SrcList *pSrc = va_arg(ap, SrcList*);
20067 ** %S Insert the first element of a SrcList
20100 ** %S Insert the first element of a SrcList
67563 SrcList *pSrc;
67759 SrcList *pSrcList = pNC->pSrcList;
68008 ** from datasource iSrc in SrcList pSrc.
68010 SQLITE_PRIVATE Expr *sqlite3CreateColumnExpr(sqlite3 *db, SrcList *pSrc, int iSrc, int iCol){
68053 SrcList *pSrcList = pNC->pSrcList;
68068 SrcList *pSrcList = pNC->pSrcList;
69644 ** Any tables that the SrcList might point to are not duplicated.
69690 SQLITE_PRIVATE SrcList *sqlite3SrcListDup(sqlite3 *db, SrcList *p, int flags){
69691 SrcList *pNew;
70154 SrcList *pSrc;
72341 SrcList *pSrcList = pNC->pSrcList;
72941 SrcList *pSrc, /* The table to rename. */
73296 SQLITE_PRIVATE void sqlite3AlterBeginAddColumn(Parse *pParse, SrcList *pSrc){
74505 SrcList *pList /* The Source list to check and modify */
74744 SrcList *pTabList /* All table that pExpr might refer to */
76304 SrcList sSrc; /* Fake SrcList for pParse->pNewTable */
76805 SQLITE_PRIVATE void sqlite3DropTable(Parse *pParse, SrcList *pName, int isView, int noErr){
77211 SrcList *pTblName, /* Table to index. Use pParse->pNewTable if 0 */
77712 SQLITE_PRIVATE void sqlite3DropIndex(Parse *pParse, SrcList *pName, int ifExists){
77881 ** Expand the space allocated for the given SrcList object by
77885 ** For example, suppose a SrcList initially contains two entries: A,B.
77896 ** If a memory allocation fails the SrcList is unchanged. The
77899 SQLITE_PRIVATE SrcList *sqlite3SrcListEnlarge(
77901 SrcList *pSrc, /* The SrcList to be enlarged */
77915 SrcList *pNew;
77942 /* Return a pointer to the enlarged SrcList */
77948 ** Append a new table name to the given SrcList. Create a new SrcList if
77949 ** need be. A new entry is created in the SrcList even if pTable is NULL.
77951 ** A SrcList is returned, or NULL if there is an OOM error. The returned
77952 ** SrcList might be the same as the SrcList that was input or it might be
77959 ** The SrcList.a[].zName field is filled with the table name which might
77961 ** SrcList.a[].zDatabase is filled with the database name from pTable,
77979 ** before being added to the SrcList.
77981 SQLITE_PRIVATE SrcList *sqlite3SrcListAppend(
77983 SrcList *pList, /* Append to this SrcList. NULL creates a new SrcList */
77990 pList = sqlite3DbMallocZero(db, sizeof(SrcList) );
78014 ** Assign VdbeCursor index numbers to all tables in a SrcList
78016 SQLITE_PRIVATE void sqlite3SrcListAssignCursors(Parse *pParse, SrcList *pList){
78032 ** Delete an entire SrcList including all its substructure.
78034 SQLITE_PRIVATE void sqlite3SrcListDelete(sqlite3 *db, SrcList *pList){
78064 ** Return a new SrcList which encodes is the FROM with the new
78067 SQLITE_PRIVATE SrcList *sqlite3SrcListAppendFromTerm(
78069 SrcList *p, /* The left part of the FROM clause already seen */
78111 SQLITE_PRIVATE void sqlite3SrcListIndexedBy(Parse *pParse, SrcList *p, Token *pIndexedBy){
78141 SQLITE_PRIVATE void sqlite3SrcListShiftJoinType(SrcList *p){
79027 SQLITE_PRIVATE Table *sqlite3SrcListLookup(Parse *pParse, SrcList *pSrc){
79097 SrcList *pFrom;
79129 SrcList *pSrc, /* the FROM clause -- which tables to scan */
79140 SrcList *pSelectSrc = NULL; /* SELECT rowid FROM x ... (dup of pSrc) */
79221 SrcList *pTabList, /* The table from which we should delete things */
79252 ** put in an SrcList structure because some of the subroutines we
79254 ** an SrcList* parameter instead of just a Table* parameter.
81695 SrcList *pSrc, /* SrcList containing the table to scan */
81843 ** being dropped from the database. The SrcList passed as the second argument
81858 SQLITE_PRIVATE void sqlite3FkDropTable(Parse *pParse, SrcList *pName, Table *pTab){
82015 SrcList *pSrc;
82031 /* Create a SrcList structure containing a single table (the table
82861 SrcList *pTabList, /* Name of table into which we are inserting */
87900 SrcList *pSrc, /* the FROM clause -- which tables to scan */
88049 SrcList *pSrc, /* Array of tables to search */
88079 ** where tab1 is the iSrc'th table in SrcList pSrc and tab2 is the
88085 SrcList *pSrc, /* List of tables in FROM clause */
88168 SrcList *pSrc; /* All tables in the FROM clause */
88846 SrcList *pTabList = pNC->pSrcList;
88949 SrcList *pTabList, /* List of tables */
88989 SrcList *pTabList, /* List of tables */
90384 SrcList *pSrc;
90523 SrcList *pSrc; /* The FROM clause of the outer query */
90524 SrcList *pSubSrc; /* The FROM clause of the subquery */
90979 ** (2) Fill in the pTabList->a[].pTab fields in the SrcList that
90999 SrcList *pTabList;
91268 SrcList *pTabList;
91526 SrcList *pTabList; /* List of tables to select from */
92560 SrcList *pTableName,/* The name of the table/view the trigger applies to */
92946 SQLITE_PRIVATE void sqlite3DropTrigger(Parse *pParse, SrcList *pName, int noErr){
93116 ** Convert the pStep->target token into a SrcList and return a pointer
93117 ** to that SrcList.
93120 ** forming the SrcList. This prevents a trigger in one database from
93125 static SrcList *targetSrcList(
93130 SrcList *pSrc; /* SrcList to be returned */
93592 SrcList *pSrc, /* The virtual table to be modified */
93661 SrcList *pTabList, /* The table in which we should change things */
94168 SrcList *pSrc, /* The virtual table to be modified */
96132 static void exprAnalyze(SrcList*, WhereClause*, int);
96140 SrcList *pTabList, /* the FROM clause */
96362 SrcList *pSrc, /* the FROM clause */
96614 SrcList *pSrc, /* the FROM clause */
98736 SrcList *pTabList, /* Table list this loop refers to */
99286 SrcList *pOrTab; /* Shortened table list or OR-clause generation */
99305 /* Set up a new SrcList ni pOrTab containing the table being scanned
99307 ** This becomes the SrcList in the recursive call to sqlite3WhereBegin().
99590 SrcList *pTabList, /* A list of all tables to be scanned */
100092 SrcList *pTabList = pWInfo->pTabList;
100406 SrcList* yy259;
103046 SrcList *pSrc = sqlite3SrcListAppend(pParse->db, 0,&yymsp[-1].minor.yy0,&yymsp[0].minor.yy0);