Lines Matching refs:Select

19 ** Delete all the content of a Select structure but do not deallocate
22 static void clearSelect(sqlite3 *db, Select *p){
47 ** Allocate a new Select structure and return a pointer to that
50 Select *sqlite3SelectNew(
62 Select *pNew;
63 Select standin;
97 ** Delete the given Select structure and all of its substructures.
99 void sqlite3SelectDelete(sqlite3 *db, Select *p){
311 ** The terms of a FROM clause are contained in the Select.pSrc structure.
312 ** The left most table is the first entry in Select.pSrc. The right-most
320 static int sqliteProcessJoin(Parse *pParse, Select *p){
415 Select *pSelect, /* The whole SELECT statement */
453 Select *p, /* The SELECT statement being coded */
528 Select *p, /* The complete select statement being coded */
869 Select *p, /* The SELECT statement */
998 Select *pS = 0; /* Select the column is extracted from */
1079 Select *pS = pExpr->x.pSelect;
1315 Select *pSelect /* SELECT used to determine types and collations */
1348 Table *sqlite3ResultSetOfSelect(Parse *pParse, Select *pSelect){
1416 static void computeLimitRegisters(Parse *pParse, Select *p, int iBreak){
1476 static CollSeq *multiSelectCollSeq(Parse *pParse, Select *p, int iCol){
1494 Select *p, /* The right-most of SELECTs to be coded */
1524 ** The arrows in the diagram above represent the Select.pPrior pointer.
1533 Select *p, /* The right-most of SELECTs to be coded */
1537 Select *pPrior; /* Another SELECT immediately to our left */
1540 Select *pDelete = 0; /* Chain of simple selects to delete */
1720 Select *pFirst = p;
1795 Select *pFirst = p;
1832 Select *pLoop; /* For looping through SELECT statements */
1902 Select *p, /* The SELECT statement */
2125 Select *p, /* The right-most of SELECTs to be coded */
2129 Select *pPrior; /* Another SELECT immediately to our left */
2454 Select *pFirst = pPrior;
2476 static void substSelect(sqlite3*, Select *, int, ExprList *);
2537 Select *p, /* SELECT statement in which to make substitutions */
2674 Select *p, /* The parent or outer SELECT statement */
2680 Select *pParent;
2681 Select *pSub; /* The inner query or "subquery" */
2682 Select *pSub1; /* Pointer to the rightmost select in sub-query */
2843 Select *pNew;
2846 Select *pPrior = p->pPrior;
3055 static u8 minMaxQuery(Select *p){
3086 static Table *isSimpleCount(Select *p, AggInfo *pAggInfo){
3159 static int selectExpander(Walker *pWalker, Select *p){
3196 Select *pSel = pFrom->pSelect;
3405 static void sqlite3SelectExpand(Parse *pParse, Select *pSelect){
3428 static int selectAddSubqueryTypeInfo(Walker *pWalker, Select *p){
3443 Select *pSel = pFrom->pSelect;
3462 static void sqlite3SelectAddTypeInfo(Parse *pParse, Select *pSelect){
3487 Select *p, /* The SELECT statement being coded. */
3702 ** This routine does NOT free the Select structure passed in. The
3707 Select *p, /* The SELECT statement being coded. */
3779 Select *pSub = pItem->pSelect;
3830 Select *pLoop, *pRight = 0;
4378 ** parse structures such as Select or Expr. Such printouts are useful
4411 void sqlite3PrintSelect(Select *p, int indent){