aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 35db19397..6835c4536 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -3479,11 +3479,15 @@ struct Window {
Expr *pStart; /* Expression for "<expr> PRECEDING" */
Expr *pEnd; /* Expression for "<expr> FOLLOWING" */
Window *pNextWin; /* Next window function belonging to this SELECT */
+ FuncDef *pFunc;
+ int nArg;
+
int iEphCsr; /* Temp table used by this window */
int regAccum;
int regResult;
- FuncDef *pFunc;
- int nArg;
+
+ int csrApp; /* Function cursor (used by min/max) */
+ int regApp; /* Function register (also used by min/max) */
int regPart;
Expr *pOwner; /* Expression object this window is attached to */