| /sqlite-3.40.0/test/ |
| H A D | fuzz_common.tcl | 101 {([Select 1])} \ 102 {[Expr $c] IN ([Select 1])} \ 103 {[Expr $c] NOT IN ([Select 1])} \ 104 {EXISTS ([Select 1])} \ 170 FROM ([Select]) 201 proc Select {{nMulti 0}} { procedure 218 {[SimpleSelect $nMulti] UNION [Select $nMulti]} \ 219 {[SimpleSelect $nMulti] UNION ALL [Select $nMulti]} \ 221 {[SimpleSelect $nMulti] INTERSECT [Select $nMulti]} 267 {[Select]} [all …]
|
| H A D | fuzz_malloc.test | 79 do_fuzzy_malloc_test fuzzy_malloc-1 -template {Select [Expr]} 80 do_fuzzy_malloc_test fuzzy_malloc-2 -template {[Select]} 97 -template {[Select]} \
|
| H A D | fuzz.test | 321 do_fuzzy_test fuzz-3.2 -template {[Select]} 343 do_fuzzy_test fuzz-4.2 -template {[Select]} 360 do_fuzzy_test fuzz-6.1 -template {[Select]} -errorlist $E
|
| H A D | mallocI.test | 69 db eval { Select CAST(1 AS blob) }
|
| H A D | speed3.test | 162 # Select the "C" column (located at the far end of the overflow
|
| H A D | walcrash.test | 268 # Select a page-size for this test.
|
| H A D | speed1p.test | 315 # Select 20000 rows from the table at random.
|
| H A D | speed1.test | 265 # Select 20000 rows from the table at random.
|
| H A D | speed2.test | 310 # Select 20000 rows from the table at random.
|
| /sqlite-3.40.0/src/ |
| H A D | sqliteInt.h | 1209 typedef struct Select Select; typedef 3345 struct Select { struct 4125 int sqlite3WalkSelect(Walker*, Select*); 4126 int sqlite3WalkSelectExpr(Walker*, Select*); 4127 int sqlite3WalkSelectFrom(Walker*, Select*); 4129 int sqlite3SelectWalkNoop(Walker*, Select*); 4130 int sqlite3SelectWalkFail(Walker*, Select*); 4280 int sqlite3WindowRewrite(Parse*, Select*); 4546 void sqlite3ShowSelect(const Select*); 4848 Select *sqlite3SelectDup(sqlite3*,const Select*,int); [all …]
|
| H A D | walker.c | 119 void sqlite3WalkWinDefnDummyCallback(Walker *pWalker, Select *p){ in sqlite3WalkWinDefnDummyCallback() 131 int sqlite3WalkSelectExpr(Walker *pWalker, Select *p){ in sqlite3WalkSelectExpr() 164 int sqlite3WalkSelectFrom(Walker *pWalker, Select *p){ in sqlite3WalkSelectFrom() 202 int sqlite3WalkSelect(Walker *pWalker, Select *p){ in sqlite3WalkSelect() 225 int sqlite3WalkerDepthIncrease(Walker *pWalker, Select *pSelect){ in sqlite3WalkerDepthIncrease() 230 void sqlite3WalkerDepthDecrease(Walker *pWalker, Select *pSelect){ in sqlite3WalkerDepthDecrease() 254 int sqlite3SelectWalkNoop(Walker *NotUsed, Select *NotUsed2){ in sqlite3SelectWalkNoop()
|
| H A D | select.c | 134 Select standin; in sqlite3SelectNew() 187 static Select *findRightmost(Select *p){ in findRightmost() 669 Select *pSelect, in makeSorterRecord() 1975 Select *pS; in columnTypeImpl() 3968 Select *p; in srclistRenumberCursors() 4452 Select *pNew; in flattenSubquery() 5056 Select *pSel; in pushDownWhereTerms() 5075 Select *pX; in pushDownWhereTerms() 5292 Select *pNew; in convertCompoundSelectToSubquery() 5293 Select *pX; in convertCompoundSelectToSubquery() [all …]
|
| H A D | resolve.c | 1163 Select *pSel = pNC->pWinSelect; in resolveExprStep() 1358 Select *pSelect, /* The SELECT statement with the ORDER BY clause */ in resolveOrderByTermToExprList() 1433 Select *pSelect /* The SELECT statement containing the ORDER BY */ in resolveCompoundOrderBy() 1546 Select *pSelect, /* The SELECT statement containing the clause */ in sqlite3ResolveOrderGroupBy() 1591 static void windowRemoveExprFromSelect(Select *pSelect, Expr *pExpr){ in windowRemoveExprFromSelect() 1624 Select *pSelect, /* The SELECT statement holding pOrderBy */ in resolveOrderGroupBy() 1685 static int resolveSelectStep(Walker *pWalker, Select *p){ in resolveSelectStep() 1693 Select *pLeftmost; /* Left-most of SELECT of a compound */ in resolveSelectStep() 1745 Select *pSub = p->pSrc->a[0].pSelect; in resolveSelectStep() 1858 Select *pSub = p->pSrc->a[0].pSelect; in resolveSelectStep() [all …]
|
| H A D | parse.y | 495 %type select {Select*} 497 %type selectnowith {Select*} 499 %type oneselect {Select*} 539 static Select *attachWithToSelect(Parse *pParse, Select *pSelect, With *pWith){ 556 Select *p = X; 566 Select *pRhs = Z; 567 Select *pLhs = A; 614 %type values {Select*} 738 Select *pSubquery; 930 Select *pSubquery; [all …]
|
| H A D | expr.c | 746 const Select *p; in heightOfSelect() 1001 Select *pRet = 0; in sqlite3ExprListToValues() 1004 Select *pSel; in sqlite3ExprListToValues() 1719 Select *sqlite3SelectDup(sqlite3 *db, const Select *pDup, int flags){ in sqlite3SelectDup() 1720 Select *pRet = 0; in sqlite3SelectDup() 1721 Select *pNext = 0; in sqlite3SelectDup() 1722 Select **pp = &pRet; in sqlite3SelectDup() 1723 const Select *p; in sqlite3SelectDup() 1768 Select *sqlite3SelectDup(sqlite3 *db, const Select *p, int flags){ in sqlite3SelectDup() 2583 Select *p; in isCandidateForInOpt() [all …]
|
| H A D | alter.c | 822 static void renameWalkWith(Walker *pWalker, Select *pSelect){ in renameWalkWith() 839 Select *p = pWith->a[i].pSelect; in renameWalkWith() 871 static int renameUnmapSelectCb(Walker *pWalker, Select *p){ in renameUnmapSelectCb() 989 static int renameColumnSelectCb(Walker *pWalker, Select *p){ in renameColumnSelectCb() 1320 Select *pSel = sqlite3SelectNew( in renameResolveTrigger() 1517 Select *pSelect = sParse.pNewTable->u.view.pSelect; in renameColumnFunc() 1642 static int renameTableSelectCb(Walker *pWalker, Select *pSelect){ in renameTableSelectCb() 1730 Select *pSelect = pTab->u.view.pSelect; in renameTableFunc() 1908 Select *pSelect = sParse.pNewTable->u.view.pSelect; in renameQuotefixFunc()
|
| H A D | attach.c | 457 static int fixSelectCb(Walker *p, Select *pSelect){ in fixSelectCb() 548 Select s; in sqlite3FixSrcList() 558 Select *pSelect /* The SELECT statement to be fixed to one database */ in sqlite3FixSelect()
|
| H A D | whereInt.h | 470 Select *pSelect; /* The entire SELECT statement containing WHERE */ 563 void sqlite3WhereAddLimit(WhereClause*, Select*);
|
| H A D | trigger.c | 431 Select *pSelect, /* The SELECT statement */ in sqlite3TriggerSelectStep() 490 Select *pSelect, /* A SELECT statement that supplies values */ in sqlite3TriggerInsertStep() 871 Select *pSubquery; in sqlite3TriggerStepSrc() 964 Select sSelect; in codeReturningTrigger() 1099 Select *pSelect = sqlite3SelectDup(db, pStep->pSelect, 0); in codeTriggerProgram()
|
| H A D | window.c | 740 Select *pSubSelect; /* Current sub-select, if any */ 830 static int selectWindowRewriteSelectCb(Walker *pWalker, Select *pSelect){ in selectWindowRewriteSelectCb() 832 Select *pSave = p->pSubSelect; in selectWindowRewriteSelectCb() 957 int sqlite3WindowRewrite(Parse *pParse, Select *p){ in sqlite3WindowRewrite() 966 Select *pSub = 0; /* The subquery */ in sqlite3WindowRewrite() 1332 void sqlite3WindowLink(Select *pSel, Window *pWin){ in sqlite3WindowLink() 1388 void sqlite3WindowCodeInit(Parse *pParse, Select *pSelect){ in sqlite3WindowCodeInit() 2779 Select *p, /* Rewritten SELECT statement */ in sqlite3WindowCodeStep()
|
| H A D | treeview.c | 248 void sqlite3TreeViewSelect(TreeView *pView, const Select *p, u8 moreToFollow){ in sqlite3TreeViewSelect() 1067 const Select *pSelect, in sqlite3TreeViewInsert() 1272 void sqlite3ShowSelect(const Select *p){ sqlite3TreeViewSelect(0,p,0); } in sqlite3ShowSelect()
|
| H A D | delete.c | 147 Select *pSel; in sqlite3MaterializeView() 190 Select *pSelect = NULL; /* Complete SELECT tree */ in sqlite3LimitWhere()
|
| H A D | insert.c | 581 Select *pSelect, /* A SELECT statement to use as the data source */ 686 Select *pSelect, /* A SELECT statement to use as the data source */ in sqlite3Insert() 2783 Select *pSelect, /* A SELECT statement to use as the data source */ in xferOptimization()
|
| H A D | build.c | 2620 Select *pSelect /* Select from a "CREATE ... AS SELECT" */ in sqlite3EndTable() 2963 Select *pSelect, /* A SELECT statement that will become the new view */ in sqlite3CreateView() 3051 Select *pSel; /* Copy of the SELECT that implements the view */ in viewGetColumnNames() 4948 Select *pSubquery, /* A subquery used in place of a table name */ in sqlite3SrcListAppendFromTerm() 5576 Select *pQuery, /* Query used to initialize the table */ in sqlite3CteNew()
|
| H A D | whereexpr.c | 936 static Bitmask exprSelectUsage(WhereMaskSet *pMaskSet, Select *pS){ in exprSelectUsage() 1604 void SQLITE_NOINLINE sqlite3WhereAddLimit(WhereClause *pWC, Select *p){ in sqlite3WhereAddLimit()
|