diff options
author | drh <drh@noemail.net> | 2020-07-10 21:43:53 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2020-07-10 21:43:53 +0000 |
commit | 6af305de1eeff5d94cacafd555f3fa6b8015b5eb (patch) | |
tree | ff24c9b4d9d040c7b82253543780b3f6d9d3bdef /src/select.c | |
parent | b16425d05a29faeec7dd77d71c0f466f8eb2340d (diff) | |
download | sqlite-6af305de1eeff5d94cacafd555f3fa6b8015b5eb.tar.gz sqlite-6af305de1eeff5d94cacafd555f3fa6b8015b5eb.zip |
Remove unnecessary code from the window functions implementation.
FossilOrigin-Name: 1e87da9c93309d1d69b1e0ab65c615b9ff9c1c6813ad0c7b90d2495be4ba0adc
Diffstat (limited to 'src/select.c')
-rw-r--r-- | src/select.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/select.c b/src/select.c index 2df58fccd..b22c167a5 100644 --- a/src/select.c +++ b/src/select.c @@ -176,21 +176,6 @@ void sqlite3SelectDelete(sqlite3 *db, Select *p){ } /* -** Delete all the substructure for p, but keep p allocated. Redefine -** p to be a single SELECT where every column of the result set has a -** value of NULL. -*/ -void sqlite3SelectReset(Parse *pParse, Select *p){ - if( ALWAYS(p) ){ - clearSelect(pParse->db, p, 0); - memset(&p->iLimit, 0, sizeof(Select) - offsetof(Select,iLimit)); - p->pEList = sqlite3ExprListAppend(pParse, 0, - sqlite3ExprAlloc(pParse->db,TK_NULL,0,0)); - p->pSrc = sqlite3DbMallocZero(pParse->db, sizeof(SrcList)); - } -} - -/* ** Return a pointer to the right-most SELECT statement in a compound. */ static Select *findRightmost(Select *p){ |