aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <>2021-02-17 21:13:14 +0000
committerdrh <>2021-02-17 21:13:14 +0000
commitc54246ffdf51ae0af4d9e39c653571e6e6586cc6 (patch)
treec1af27c0e52836effb97b1afd4f80eaccb70e1e2 /src/sqliteInt.h
parent4b0229ae1ff30df9cf1d33e7c1df27cb01c5ecfe (diff)
downloadsqlite-c54246ffdf51ae0af4d9e39c653571e6e6586cc6.tar.gz
sqlite-c54246ffdf51ae0af4d9e39c653571e6e6586cc6.zip
Use the sqlite3ParserAddCleanup() mechanism to ensure that the AggInfo
structure associated with an aggregate query is deallocated, for a performance increase and size reduction. FossilOrigin-Name: 7a1399671fa10c64d5358cc4d364d24c643fe9dd8da923356462267ee7962f61
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 17b1cb415..b1d9bab49 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -2591,7 +2591,6 @@ struct AggInfo {
} *aFunc;
int nFunc; /* Number of entries in aFunc[] */
u32 selId; /* Select to which this AggInfo belongs */
- AggInfo *pNext; /* Next in list of them all */
};
/*
@@ -3427,7 +3426,6 @@ struct Parse {
Parse *pToplevel; /* Parse structure for main program (or NULL) */
Table *pTriggerTab; /* Table triggers are being coded for */
Parse *pParentParse; /* Parent parser if this parser is nested */
- AggInfo *pAggList; /* List of all AggInfo objects */
union {
int addrCrTab; /* Address of OP_CreateBtree on CREATE TABLE */
Returning *pReturning; /* The RETURNING clause */