Lines Matching defs:SrcList

7897 typedef struct SrcList SrcList;
10470 ** the SrcList.a[] array.
10486 struct SrcList {
10513 ** Permitted values of the SrcList.a.jointype field
10620 SrcList *pTabList; /* List of tables in the join */
10657 SrcList *pSrcList; /* One or more tables used to resolve names */
10694 SrcList *pSrc; /* The FROM clause */
11358 SQLITE_PRIVATE void sqlite3DropTable(Parse*, SrcList*, int, int);
11367 SQLITE_PRIVATE void sqlite3Insert(Parse*, SrcList*, ExprList*, Select*, IdList*, int);
11371 SQLITE_PRIVATE SrcList *sqlite3SrcListEnlarge(sqlite3*, SrcList*, int, int);
11372 SQLITE_PRIVATE SrcList *sqlite3SrcListAppend(sqlite3*, SrcList*, Token*, Token*);
11373 SQLITE_PRIVATE SrcList *sqlite3SrcListAppendFromTerm(Parse*, SrcList*, Token*, Token*,
11375 SQLITE_PRIVATE void sqlite3SrcListIndexedBy(Parse *, SrcList *, Token *);
11377 SQLITE_PRIVATE void sqlite3SrcListShiftJoinType(SrcList*);
11378 SQLITE_PRIVATE void sqlite3SrcListAssignCursors(Parse*, SrcList*);
11380 SQLITE_PRIVATE void sqlite3SrcListDelete(sqlite3*, SrcList*);
11381 SQLITE_PRIVATE Index *sqlite3CreateIndex(Parse*,Token*,Token*,SrcList*,ExprList*,int,Token*,
11383 SQLITE_PRIVATE void sqlite3DropIndex(Parse*, SrcList*, int);
11385 SQLITE_PRIVATE Select *sqlite3SelectNew(Parse*,ExprList*,SrcList*,Expr*,ExprList*,
11388 SQLITE_PRIVATE Table *sqlite3SrcListLookup(Parse*, SrcList*);
11392 SQLITE_PRIVATE Expr *sqlite3LimitWhere(Parse *, SrcList *, Expr *, ExprList *, Expr *, Expr *, char *);
11394 SQLITE_PRIVATE void sqlite3DeleteFrom(Parse*, SrcList*, Expr*);
11395 SQLITE_PRIVATE void sqlite3Update(Parse*, SrcList*, ExprList*, Expr*, int);
11396 SQLITE_PRIVATE WhereInfo *sqlite3WhereBegin(Parse*, SrcList*, Expr*, ExprList**,ExprList*,u16);
11461 SQLITE_PRIVATE SrcList *sqlite3SrcListDup(sqlite3*,SrcList*,int);
11478 SQLITE_PRIVATE void sqlite3BeginTrigger(Parse*, Token*,Token*,int,int,IdList*,SrcList*,
11481 SQLITE_PRIVATE void sqlite3DropTrigger(Parse*, SrcList*, int);
11515 SQLITE_PRIVATE void sqlite3AuthRead(Parse*,Expr*,Schema*,SrcList*);
11529 SQLITE_PRIVATE int sqlite3FixSrcList(DbFixer*, SrcList*);
11634 SQLITE_PRIVATE void sqlite3AlterRenameTable(Parse*, SrcList*, Token*);
11645 SQLITE_PRIVATE void sqlite3AlterBeginAddColumn(Parse *, SrcList *);
11675 SQLITE_PRIVATE Expr *sqlite3CreateColumnExpr(sqlite3 *, SrcList *, int, int);
11759 SQLITE_PRIVATE void sqlite3FkDropTable(Parse*, SrcList *, Table*);
18949 #define etSRCLIST 13 /* a pointer to a SrcList */
19576 SrcList *pSrc = va_arg(ap, SrcList*);
20723 ** %S Insert the first element of a SrcList
20756 ** %S Insert the first element of a SrcList
71760 SrcList *pSrc;
71958 SrcList *pSrcList = pNC->pSrcList;
72207 ** from datasource iSrc in SrcList pSrc.
72209 SQLITE_PRIVATE Expr *sqlite3CreateColumnExpr(sqlite3 *db, SrcList *pSrc, int iSrc, int iCol){
72252 SrcList *pSrcList = pNC->pSrcList;
72267 SrcList *pSrcList = pNC->pSrcList;
73860 ** Any tables that the SrcList might point to are not duplicated.
73906 SQLITE_PRIVATE SrcList *sqlite3SrcListDup(sqlite3 *db, SrcList *p, int flags){
73907 SrcList *pNew;
74366 SrcList *pSrc;
76556 SrcList *pSrcList = pNC->pSrcList;
77172 SrcList *pSrc, /* The table to rename. */
77524 SQLITE_PRIVATE void sqlite3AlterBeginAddColumn(Parse *pParse, SrcList *pSrc){
78784 SrcList *pList /* The Source list to check and modify */
79023 SrcList *pTabList /* All table that pExpr might refer to */
80615 SrcList sSrc; /* Fake SrcList for pParse->pNewTable */
81146 SQLITE_PRIVATE void sqlite3DropTable(Parse *pParse, SrcList *pName, int isView, int noErr){
81583 SrcList *pTblName, /* Table to index. Use pParse->pNewTable if 0 */
82088 SQLITE_PRIVATE void sqlite3DropIndex(Parse *pParse, SrcList *pName, int ifExists){
82253 ** Expand the space allocated for the given SrcList object by
82257 ** For example, suppose a SrcList initially contains two entries: A,B.
82268 ** If a memory allocation fails the SrcList is unchanged. The
82271 SQLITE_PRIVATE SrcList *sqlite3SrcListEnlarge(
82273 SrcList *pSrc, /* The SrcList to be enlarged */
82287 SrcList *pNew;
82314 /* Return a pointer to the enlarged SrcList */
82320 ** Append a new table name to the given SrcList. Create a new SrcList if
82321 ** need be. A new entry is created in the SrcList even if pTable is NULL.
82323 ** A SrcList is returned, or NULL if there is an OOM error. The returned
82324 ** SrcList might be the same as the SrcList that was input or it might be
82331 ** The SrcList.a[].zName field is filled with the table name which might
82333 ** SrcList.a[].zDatabase is filled with the database name from pTable,
82351 ** before being added to the SrcList.
82353 SQLITE_PRIVATE SrcList *sqlite3SrcListAppend(
82355 SrcList *pList, /* Append to this SrcList. NULL creates a new SrcList */
82362 pList = sqlite3DbMallocZero(db, sizeof(SrcList) );
82386 ** Assign VdbeCursor index numbers to all tables in a SrcList
82388 SQLITE_PRIVATE void sqlite3SrcListAssignCursors(Parse *pParse, SrcList *pList){
82404 ** Delete an entire SrcList including all its substructure.
82406 SQLITE_PRIVATE void sqlite3SrcListDelete(sqlite3 *db, SrcList *pList){
82436 ** Return a new SrcList which encodes is the FROM with the new
82439 SQLITE_PRIVATE SrcList *sqlite3SrcListAppendFromTerm(
82441 SrcList *p, /* The left part of the FROM clause already seen */
82483 SQLITE_PRIVATE void sqlite3SrcListIndexedBy(Parse *pParse, SrcList *p, Token *pIndexedBy){
82513 SQLITE_PRIVATE void sqlite3SrcListShiftJoinType(SrcList *p){
83416 ** While a SrcList can in general represent multiple tables and subqueries
83429 SQLITE_PRIVATE Table *sqlite3SrcListLookup(Parse *pParse, SrcList *pSrc){
83499 SrcList *pFrom;
83531 SrcList *pSrc, /* the FROM clause -- which tables to scan */
83542 SrcList *pSelectSrc = NULL; /* SELECT rowid FROM x ... (dup of pSrc) */
83623 SrcList *pTabList, /* The table from which we should delete things */
83654 ** put in an SrcList structure because some of the subroutines we
83656 ** an SrcList* parameter instead of just a Table* parameter.
86131 SrcList *pSrc, /* SrcList containing the table to scan */
86279 ** being dropped from the database. The SrcList passed as the second argument
86294 SQLITE_PRIVATE void sqlite3FkDropTable(Parse *pParse, SrcList *pName, Table *pTab){
86466 SrcList *pSrc;
86482 /* Create a SrcList structure containing a single table (the table
87315 SrcList *pTabList, /* Name of table into which we are inserting */
92400 SrcList *pSrc, /* the FROM clause -- which tables to scan */
92551 SrcList *pSrc, /* Array of tables to search */
92581 ** where tab1 is the iSrc'th table in SrcList pSrc and tab2 is the
92587 SrcList *pSrc, /* List of tables in FROM clause */
92670 SrcList *pSrc; /* All tables in the FROM clause */
93373 SrcList *pTabList = pNC->pSrcList;
93476 SrcList *pTabList, /* List of tables */
93516 SrcList *pTabList, /* List of tables */
94911 SrcList *pSrc;
95053 SrcList *pSrc; /* The FROM clause of the outer query */
95054 SrcList *pSubSrc; /* The FROM clause of the subquery */
95512 ** (2) Fill in the pTabList->a[].pTab fields in the SrcList that
95532 SrcList *pTabList;
95801 SrcList *pTabList;
96085 SrcList *pTabList; /* List of tables to select from */
97221 SrcList *pTableName,/* The name of the table/view the trigger applies to */
97623 SQLITE_PRIVATE void sqlite3DropTrigger(Parse *pParse, SrcList *pName, int noErr){
97804 ** Convert the pStep->target token into a SrcList and return a pointer
97805 ** to that SrcList.
97808 ** forming the SrcList. This prevents a trigger in one database from
97813 static SrcList *targetSrcList(
97818 SrcList *pSrc; /* SrcList to be returned */
98280 SrcList *pSrc, /* The virtual table to be modified */
98350 SrcList *pTabList, /* The table in which we should change things */
98857 SrcList *pSrc, /* The virtual table to be modified */
100815 SrcList *pSrc = pS->pSrc;
100968 static void exprAnalyze(SrcList*, WhereClause*, int);
100976 SrcList *pTabList, /* the FROM clause */
101198 SrcList *pSrc, /* the FROM clause */
101450 SrcList *pSrc, /* the FROM clause */
101857 SrcList *pTabList,
104039 SrcList *pTabList, /* Table list this loop refers to */
104598 SrcList *pOrTab; /* Shortened table list or OR-clause generation */
104616 /* Set up a new SrcList ni pOrTab containing the table being scanned
104618 ** This becomes the SrcList in the recursive call to sqlite3WhereBegin().
104899 SrcList *pTabList, /* A list of all tables to be scanned */
105420 SrcList *pTabList = pWInfo->pTabList;
105735 SrcList* yy259;
108376 SrcList *pSrc = sqlite3SrcListAppend(pParse->db, 0,&yymsp[-1].minor.yy0,&yymsp[0].minor.yy0);