aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2020-06-09 13:38:12 +0000
committerdrh <drh@noemail.net>2020-06-09 13:38:12 +0000
commit81185a5138577baf2b32112fa3c6f931667c23f9 (patch)
treebdf3d5faeef4438ba8888fb581458f79b594af59 /src/sqliteInt.h
parente26d428a5900bb0cbfbb4e3857ff6343e7664cfe (diff)
downloadsqlite-81185a5138577baf2b32112fa3c6f931667c23f9.tar.gz
sqlite-81185a5138577baf2b32112fa3c6f931667c23f9.zip
Give the expression pointer fields of AggInfo distinctive names in order to
simplify tracking of all their uses. FossilOrigin-Name: a53bdd311c4154fd5e1131efbb9665362f79db5a35ce9f7b1547f74b8ee2d8ba
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 0cd33baa0..723185642 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -2506,7 +2506,7 @@ struct AggInfo {
ExprList *pGroupBy; /* The group by clause */
struct AggInfo_col { /* For each column used in source tables */
Table *pTab; /* Source table */
- Expr *pExpr; /* The original expression */
+ Expr *pCExpr; /* The original expression */
int iTable; /* Cursor number of the source table */
int iMem; /* Memory location that acts as accumulator */
i16 iColumn; /* Column number within the source table */
@@ -2517,7 +2517,7 @@ struct AggInfo {
** Additional columns are used only as parameters to
** aggregate functions */
struct AggInfo_func { /* For each aggregate function */
- Expr *pExpr; /* Expression encoding the function */
+ Expr *pFExpr; /* Expression encoding the function */
FuncDef *pFunc; /* The aggregate function implementation */
int iMem; /* Memory location that acts as accumulator */
int iDistinct; /* Ephemeral table used to enforce DISTINCT */