Home | History | Annotate | Download | only in orig

Lines Matching defs:SrcList

8810 typedef struct SrcList SrcList;
11544 ** the SrcList.a[] array.
11560 struct SrcList {
11591 ** Permitted values of the SrcList.a.jointype field
11651 SrcList *pSrcList; /* One or more tables used to resolve names */
11696 SrcList *pSrc; /* The FROM clause */
12264 SrcList *pSrcList; /* FROM clause */
12564 SQLITE_PRIVATE void sqlite3DropTable(Parse*, SrcList*, int, int);
12574 SQLITE_PRIVATE void sqlite3Insert(Parse*, SrcList*, Select*, IdList*, int);
12578 SQLITE_PRIVATE SrcList *sqlite3SrcListEnlarge(sqlite3*, SrcList*, int, int);
12579 SQLITE_PRIVATE SrcList *sqlite3SrcListAppend(sqlite3*, SrcList*, Token*, Token*);
12580 SQLITE_PRIVATE SrcList *sqlite3SrcListAppendFromTerm(Parse*, SrcList*, Token*, Token*,
12582 SQLITE_PRIVATE void sqlite3SrcListIndexedBy(Parse *, SrcList *, Token *);
12584 SQLITE_PRIVATE void sqlite3SrcListShiftJoinType(SrcList*);
12585 SQLITE_PRIVATE void sqlite3SrcListAssignCursors(Parse*, SrcList*);
12587 SQLITE_PRIVATE void sqlite3SrcListDelete(sqlite3*, SrcList*);
12589 SQLITE_PRIVATE Index *sqlite3CreateIndex(Parse*,Token*,Token*,SrcList*,ExprList*,int,Token*,
12591 SQLITE_PRIVATE void sqlite3DropIndex(Parse*, SrcList*, int);
12593 SQLITE_PRIVATE Select *sqlite3SelectNew(Parse*,ExprList*,SrcList*,Expr*,ExprList*,
12596 SQLITE_PRIVATE Table *sqlite3SrcListLookup(Parse*, SrcList*);
12600 SQLITE_PRIVATE Expr *sqlite3LimitWhere(Parse*,SrcList*,Expr*,ExprList*,Expr*,Expr*,char*);
12602 SQLITE_PRIVATE void sqlite3DeleteFrom(Parse*, SrcList*, Expr*);
12603 SQLITE_PRIVATE void sqlite3Update(Parse*, SrcList*, ExprList*, Expr*, int);
12604 SQLITE_PRIVATE WhereInfo *sqlite3WhereBegin(Parse*,SrcList*,Expr*,ExprList*,ExprList*,u16,int);
12647 SQLITE_PRIVATE int sqlite3FunctionUsesThisSrc(Expr*, SrcList*);
12683 SQLITE_PRIVATE SrcList *sqlite3SrcListDup(sqlite3*,SrcList*,int);
12700 SQLITE_PRIVATE void sqlite3BeginTrigger(Parse*, Token*,Token*,int,int,IdList*,SrcList*,
12703 SQLITE_PRIVATE void sqlite3DropTrigger(Parse*, SrcList*, int);
12737 SQLITE_PRIVATE void sqlite3AuthRead(Parse*,Expr*,Schema*,SrcList*);
12751 SQLITE_PRIVATE int sqlite3FixSrcList(DbFixer*, SrcList*);
12870 SQLITE_PRIVATE void sqlite3AlterRenameTable(Parse*, SrcList*, Token*);
12883 SQLITE_PRIVATE void sqlite3AlterBeginAddColumn(Parse *, SrcList *);
12921 SQLITE_PRIVATE Expr *sqlite3CreateColumnExpr(sqlite3 *, SrcList *, int, int);
13028 SQLITE_PRIVATE void sqlite3FkDropTable(Parse*, SrcList *, Table*);
20564 #define etSRCLIST 13 /* a pointer to a SrcList */
21220 SrcList *pSrc = va_arg(ap, SrcList*);
22363 ** %S Insert the first element of a SrcList
22395 ** %S Insert the first element of a SrcList
76709 SrcList *pSrc;
77035 SrcList *pSrcList = pNC->pSrcList;
77290 ** from datasource iSrc in SrcList pSrc.
77292 SQLITE_PRIVATE Expr *sqlite3CreateColumnExpr(sqlite3 *db, SrcList *pSrc, int iSrc, int iCol){
77381 SrcList *pSrcList = pNC->pSrcList;
77396 SrcList *pSrcList = pNC->pSrcList;
78202 SrcList sSrc; /* Fake SrcList for pParse->pNewTable */
79167 ** Any tables that the SrcList might point to are not duplicated.
79213 SQLITE_PRIVATE SrcList *sqlite3SrcListDup(sqlite3 *db, SrcList *p, int flags){
79214 SrcList *pNew;
79669 SrcList *pSrc;
82262 SrcList *pSrc; /* One particular FROM clause in a nested query */
82279 SrcList *pSrc = p->pSrc;
82298 SQLITE_PRIVATE int sqlite3FunctionUsesThisSrc(Expr *pExpr, SrcList *pSrcList){
82353 SrcList *pSrcList = pNC->pSrcList;
82976 SrcList *pSrc, /* The table to rename. */
83329 SQLITE_PRIVATE void sqlite3AlterBeginAddColumn(Parse *pParse, SrcList *pSrc){
85716 SrcList *pList /* The Source list to check and modify */
85978 SrcList *pTabList /* All table that pExpr might refer to */
88488 SQLITE_PRIVATE void sqlite3DropTable(Parse *pParse, SrcList *pName, int isView, int noErr){
88878 SrcList *pTblName, /* Table to index. Use pParse->pNewTable if 0 */
89398 SQLITE_PRIVATE void sqlite3DropIndex(Parse *pParse, SrcList *pName, int ifExists){
89558 ** Expand the space allocated for the given SrcList object by
89562 ** For example, suppose a SrcList initially contains two entries: A,B.
89573 ** If a memory allocation fails the SrcList is unchanged. The
89576 SQLITE_PRIVATE SrcList *sqlite3SrcListEnlarge(
89578 SrcList *pSrc, /* The SrcList to be enlarged */
89592 SrcList *pNew;
89619 /* Return a pointer to the enlarged SrcList */
89625 ** Append a new table name to the given SrcList. Create a new SrcList if
89626 ** need be. A new entry is created in the SrcList even if pTable is NULL.
89628 ** A SrcList is returned, or NULL if there is an OOM error. The returned
89629 ** SrcList might be the same as the SrcList that was input or it might be
89636 ** The SrcList.a[].zName field is filled with the table name which might
89638 ** SrcList.a[].zDatabase is filled with the database name from pTable,
89656 ** before being added to the SrcList.
89658 SQLITE_PRIVATE SrcList *sqlite3SrcListAppend(
89660 SrcList *pList, /* Append to this SrcList. NULL creates a new SrcList */
89667 pList = sqlite3DbMallocZero(db, sizeof(SrcList) );
89691 ** Assign VdbeCursor index numbers to all tables in a SrcList
89693 SQLITE_PRIVATE void sqlite3SrcListAssignCursors(Parse *pParse, SrcList *pList){
89709 ** Delete an entire SrcList including all its substructure.
89711 SQLITE_PRIVATE void sqlite3SrcListDelete(sqlite3 *db, SrcList *pList){
89741 ** Return a new SrcList which encodes is the FROM with the new
89744 SQLITE_PRIVATE SrcList *sqlite3SrcListAppendFromTerm(
89746 SrcList *p, /* The left part of the FROM clause already seen */
89788 SQLITE_PRIVATE void sqlite3SrcListIndexedBy(Parse *pParse, SrcList *p, Token *pIndexedBy){
89818 SQLITE_PRIVATE void sqlite3SrcListShiftJoinType(SrcList *p){
90850 ** While a SrcList can in general represent multiple tables and subqueries
90863 SQLITE_PRIVATE Table *sqlite3SrcListLookup(Parse *pParse, SrcList *pSrc){
90929 SrcList *pFrom;
90959 SrcList *pSrc, /* the FROM clause -- which tables to scan */
90970 SrcList *pSelectSrc = NULL; /* SELECT rowid FROM x ... (dup of pSrc) */
91051 SrcList *pTabList, /* The table from which we should delete things */
91098 ** put in an SrcList structure because some of the subroutines we
91100 ** an SrcList* parameter instead of just a Table* parameter.
93955 SrcList *pSrc, /* The child table to be scanned */
94107 ** being dropped from the database. The SrcList passed as the second argument
94122 SQLITE_PRIVATE void sqlite3FkDropTable(Parse *pParse, SrcList *pName, Table *pTab){
94375 SrcList *pSrc;
94397 /* Create a SrcList structure containing the child table. We need the
94398 ** child table as a SrcList for sqlite3WhereBegin() */
95223 SrcList *pTabList, /* Name of table into which we are inserting */
101531 SrcList *pSrc, /* the FROM clause -- which tables to scan */
101692 SrcList *pSrc, /* Array of tables to search */
101722 ** where tab1 is the iSrc'th table in SrcList pSrc and tab2 is the
101728 SrcList *pSrc, /* List of tables in FROM clause */
101811 SrcList *pSrc; /* All tables in the FROM clause */
102742 SrcList *pTabList = pNC->pSrcList;
102858 SrcList *pTabList, /* List of tables */
102898 SrcList *pTabList, /* List of tables */
103313 ** of recursive-query, marked with the SrcList->a[].isRecursive flag.
103344 SrcList *pSrc = p->pSrc; /* The FROM clause of the recursive query */
104476 SrcList *pSrc;
104637 SrcList *pSrc; /* The FROM clause of the outer query */
104638 SrcList *pSubSrc; /* The FROM clause of the subquery */
105133 SrcList *pNewSrc;
105286 SrcList *pSrc = pFrom->pSelect->pSrc;
105373 ** (2) Fill in the pTabList->a[].pTab fields in the SrcList that
105393 SrcList *pTabList;
105721 SrcList *pTabList;
105984 SrcList *pTabList; /* List of tables to select from */
107145 SrcList *pTableName,/* The name of the table/view the trigger applies to */
107545 SQLITE_PRIVATE void sqlite3DropTrigger(Parse *pParse, SrcList *pName, int noErr){
107727 ** Convert the pStep->target token into a SrcList and return a pointer
107728 ** to that SrcList.
107731 ** forming the SrcList. This prevents a trigger in one database from
107736 static SrcList *targetSrcList(
107741 SrcList *pSrc; /* SrcList to be returned */
108205 SrcList *pSrc, /* The virtual table to be modified */
108275 SrcList *pTabList, /* The table in which we should change things */
108886 SrcList *pSrc, /* The virtual table to be modified */
110844 SrcList *pTabList; /* List of tables in the join */
111230 SrcList *pSrc = pS->pSrc;
111506 static void exprAnalyze(SrcList*, WhereClause*, int);
111512 SrcList *pTabList, /* the FROM clause */
111736 SrcList *pSrc, /* the FROM clause */
111985 SrcList *pSrc, /* the FROM clause */
112328 SrcList *pTabList, /* The FROM clause */
113688 SrcList *pTabList, /* Table list this loop refers to */
114309 SrcList *pOrTab; /* Shortened table list or OR-clause generation */
114332 /* Set up a new SrcList in pOrTab containing the table being scanned
114334 ** This becomes the SrcList in the recursive call to sqlite3WhereBegin().
115503 SrcList *pTabList; /* The FROM clause */
115966 SrcList *pTabList = pWInfo->pTabList;
116854 SrcList *pTabList, /* FROM clause: A list of all tables to be scanned */
117276 SrcList *pTabList = pWInfo->pTabList;
117642 SrcList* yy65;
119858 SrcList *pFrom;
120384 SrcList *pSrc = sqlite3SrcListAppend(pParse->db, 0,&yymsp[-1].minor.yy0,&yymsp[0].minor.yy0);