Home | History | Annotate | Download | only in orig

Lines Matching defs:SrcList

8152 typedef struct SrcList SrcList;
10724 ** the SrcList.a[] array.
10740 struct SrcList {
10767 ** Permitted values of the SrcList.a.jointype field
10874 SrcList *pTabList; /* List of tables in the join */
10911 SrcList *pSrcList; /* One or more tables used to resolve names */
10951 SrcList *pSrc; /* The FROM clause */
11641 SQLITE_PRIVATE void sqlite3DropTable(Parse*, SrcList*, int, int);
11651 SQLITE_PRIVATE void sqlite3Insert(Parse*, SrcList*, ExprList*, Select*, IdList*, int);
11655 SQLITE_PRIVATE SrcList *sqlite3SrcListEnlarge(sqlite3*, SrcList*, int, int);
11656 SQLITE_PRIVATE SrcList *sqlite3SrcListAppend(sqlite3*, SrcList*, Token*, Token*);
11657 SQLITE_PRIVATE SrcList *sqlite3SrcListAppendFromTerm(Parse*, SrcList*, Token*, Token*,
11659 SQLITE_PRIVATE void sqlite3SrcListIndexedBy(Parse *, SrcList *, Token *);
11661 SQLITE_PRIVATE void sqlite3SrcListShiftJoinType(SrcList*);
11662 SQLITE_PRIVATE void sqlite3SrcListAssignCursors(Parse*, SrcList*);
11664 SQLITE_PRIVATE void sqlite3SrcListDelete(sqlite3*, SrcList*);
11665 SQLITE_PRIVATE Index *sqlite3CreateIndex(Parse*,Token*,Token*,SrcList*,ExprList*,int,Token*,
11667 SQLITE_PRIVATE void sqlite3DropIndex(Parse*, SrcList*, int);
11669 SQLITE_PRIVATE Select *sqlite3SelectNew(Parse*,ExprList*,SrcList*,Expr*,ExprList*,
11672 SQLITE_PRIVATE Table *sqlite3SrcListLookup(Parse*, SrcList*);
11676 SQLITE_PRIVATE Expr *sqlite3LimitWhere(Parse *, SrcList *, Expr *, ExprList *, Expr *, Expr *, char *);
11678 SQLITE_PRIVATE void sqlite3DeleteFrom(Parse*, SrcList*, Expr*);
11679 SQLITE_PRIVATE void sqlite3Update(Parse*, SrcList*, ExprList*, Expr*, int);
11680 SQLITE_PRIVATE WhereInfo *sqlite3WhereBegin(Parse*, SrcList*, Expr*, ExprList**,ExprList*,u16);
11745 SQLITE_PRIVATE SrcList *sqlite3SrcListDup(sqlite3*,SrcList*,int);
11762 SQLITE_PRIVATE void sqlite3BeginTrigger(Parse*, Token*,Token*,int,int,IdList*,SrcList*,
11765 SQLITE_PRIVATE void sqlite3DropTrigger(Parse*, SrcList*, int);
11799 SQLITE_PRIVATE void sqlite3AuthRead(Parse*,Expr*,Schema*,SrcList*);
11813 SQLITE_PRIVATE int sqlite3FixSrcList(DbFixer*, SrcList*);
11918 SQLITE_PRIVATE void sqlite3AlterRenameTable(Parse*, SrcList*, Token*);
11929 SQLITE_PRIVATE void sqlite3AlterBeginAddColumn(Parse *, SrcList *);
11960 SQLITE_PRIVATE Expr *sqlite3CreateColumnExpr(sqlite3 *, SrcList *, int, int);
12045 SQLITE_PRIVATE void sqlite3FkDropTable(Parse*, SrcList *, Table*);
19400 #define etSRCLIST 13 /* a pointer to a SrcList */
20006 SrcList *pSrc = va_arg(ap, SrcList*);
21153 ** %S Insert the first element of a SrcList
21186 ** %S Insert the first element of a SrcList
73126 SrcList *pSrc;
73342 SrcList *pSrcList = pNC->pSrcList;
73578 ** from datasource iSrc in SrcList pSrc.
73580 SQLITE_PRIVATE Expr *sqlite3CreateColumnExpr(sqlite3 *db, SrcList *pSrc, int iSrc, int iCol){
73623 SrcList *pSrcList = pNC->pSrcList;
73638 SrcList *pSrcList = pNC->pSrcList;
75232 ** Any tables that the SrcList might point to are not duplicated.
75279 SQLITE_PRIVATE SrcList *sqlite3SrcListDup(sqlite3 *db, SrcList *p, int flags){
75280 SrcList *pNew;
75742 SrcList *pSrc;
78202 SrcList *pSrcList = pNC->pSrcList;
78826 SrcList *pSrc, /* The table to rename. */
79178 SQLITE_PRIVATE void sqlite3AlterBeginAddColumn(Parse *pParse, SrcList *pSrc){
80844 SrcList *pList /* The Source list to check and modify */
81083 SrcList *pTabList /* All table that pExpr might refer to */
82675 SrcList sSrc; /* Fake SrcList for pParse->pNewTable */
83276 SQLITE_PRIVATE void sqlite3DropTable(Parse *pParse, SrcList *pName, int isView, int noErr){
83662 SrcList *pTblName, /* Table to index. Use pParse->pNewTable if 0 */
84174 SQLITE_PRIVATE void sqlite3DropIndex(Parse *pParse, SrcList *pName, int ifExists){
84332 ** Expand the space allocated for the given SrcList object by
84336 ** For example, suppose a SrcList initially contains two entries: A,B.
84347 ** If a memory allocation fails the SrcList is unchanged. The
84350 SQLITE_PRIVATE SrcList *sqlite3SrcListEnlarge(
84352 SrcList *pSrc, /* The SrcList to be enlarged */
84366 SrcList *pNew;
84393 /* Return a pointer to the enlarged SrcList */
84399 ** Append a new table name to the given SrcList. Create a new SrcList if
84400 ** need be. A new entry is created in the SrcList even if pTable is NULL.
84402 ** A SrcList is returned, or NULL if there is an OOM error. The returned
84403 ** SrcList might be the same as the SrcList that was input or it might be
84410 ** The SrcList.a[].zName field is filled with the table name which might
84412 ** SrcList.a[].zDatabase is filled with the database name from pTable,
84430 ** before being added to the SrcList.
84432 SQLITE_PRIVATE SrcList *sqlite3SrcListAppend(
84434 SrcList *pList, /* Append to this SrcList. NULL creates a new SrcList */
84441 pList = sqlite3DbMallocZero(db, sizeof(SrcList) );
84465 ** Assign VdbeCursor index numbers to all tables in a SrcList
84467 SQLITE_PRIVATE void sqlite3SrcListAssignCursors(Parse *pParse, SrcList *pList){
84483 ** Delete an entire SrcList including all its substructure.
84485 SQLITE_PRIVATE void sqlite3SrcListDelete(sqlite3 *db, SrcList *pList){
84515 ** Return a new SrcList which encodes is the FROM with the new
84518 SQLITE_PRIVATE SrcList *sqlite3SrcListAppendFromTerm(
84520 SrcList *p, /* The left part of the FROM clause already seen */
84562 SQLITE_PRIVATE void sqlite3SrcListIndexedBy(Parse *pParse, SrcList *p, Token *pIndexedBy){
84592 SQLITE_PRIVATE void sqlite3SrcListShiftJoinType(SrcList *p){
85489 ** While a SrcList can in general represent multiple tables and subqueries
85502 SQLITE_PRIVATE Table *sqlite3SrcListLookup(Parse *pParse, SrcList *pSrc){
85572 SrcList *pFrom;
85604 SrcList *pSrc, /* the FROM clause -- which tables to scan */
85615 SrcList *pSelectSrc = NULL; /* SELECT rowid FROM x ... (dup of pSrc) */
85695 SrcList *pTabList, /* The table from which we should delete things */
85726 ** put in an SrcList structure because some of the subroutines we
85728 ** an SrcList* parameter instead of just a Table* parameter.
88212 SrcList *pSrc, /* SrcList containing the table to scan */
88360 ** being dropped from the database. The SrcList passed as the second argument
88375 SQLITE_PRIVATE void sqlite3FkDropTable(Parse *pParse, SrcList *pName, Table *pTab){
88547 SrcList *pSrc;
88563 /* Create a SrcList structure containing a single table (the table
89398 SrcList *pTabList, /* Name of table into which we are inserting */
94554 SrcList *pSrc, /* the FROM clause -- which tables to scan */
94708 SrcList *pSrc, /* Array of tables to search */
94738 ** where tab1 is the iSrc'th table in SrcList pSrc and tab2 is the
94744 SrcList *pSrc, /* List of tables in FROM clause */
94827 SrcList *pSrc; /* All tables in the FROM clause */
95530 SrcList *pTabList = pNC->pSrcList;
95633 SrcList *pTabList, /* List of tables */
95673 SrcList *pTabList, /* List of tables */
97075 SrcList *pSrc;
97222 SrcList *pSrc; /* The FROM clause of the outer query */
97223 SrcList *pSubSrc; /* The FROM clause of the subquery */
97683 ** (2) Fill in the pTabList->a[].pTab fields in the SrcList that
97703 SrcList *pTabList;
97972 SrcList *pTabList;
98265 SrcList *pTabList; /* List of tables to select from */
99401 SrcList *pTableName,/* The name of the table/view the trigger applies to */
99803 SQLITE_PRIVATE void sqlite3DropTrigger(Parse *pParse, SrcList *pName, int noErr){
99984 ** Convert the pStep->target token into a SrcList and return a pointer
99985 ** to that SrcList.
99988 ** forming the SrcList. This prevents a trigger in one database from
99993 static SrcList *targetSrcList(
99998 SrcList *pSrc; /* SrcList to be returned */
100461 SrcList *pSrc, /* The virtual table to be modified */
100531 SrcList *pTabList, /* The table in which we should change things */
101041 SrcList *pSrc, /* The virtual table to be modified */
103015 SrcList *pSrc = pS->pSrc;
103170 static void exprAnalyze(SrcList*, WhereClause*, int);
103178 SrcList *pTabList, /* the FROM clause */
103400 SrcList *pSrc, /* the FROM clause */
103653 SrcList *pSrc, /* the FROM clause */
104060 SrcList *pTabList,
106252 SrcList *pTabList, /* Table list this loop refers to */
106813 SrcList *pOrTab; /* Shortened table list or OR-clause generation */
106832 /* Set up a new SrcList ni pOrTab containing the table being scanned
106834 ** This becomes the SrcList in the recursive call to sqlite3WhereBegin().
107149 SrcList *pTabList, /* A list of all tables to be scanned */
107671 SrcList *pTabList = pWInfo->pTabList;
107997 SrcList* yy347;
110662 SrcList *pSrc = sqlite3SrcListAppend(pParse->db, 0,&yymsp[-1].minor.yy0,&yymsp[0].minor.yy0);