diff options
author | drh <drh@noemail.net> | 2019-09-14 16:21:02 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2019-09-14 16:21:02 +0000 |
commit | d44c617ad444717fbf9f213c8a654d2661fc64e7 (patch) | |
tree | 48eb23f3637c9e39d4ddaf703ef1a05419ff2535 /src/sqliteInt.h | |
parent | fab5b07395796f7761dbf3ba8604325889af9522 (diff) | |
download | sqlite-d44c617ad444717fbf9f213c8a654d2661fc64e7.tar.gz sqlite-d44c617ad444717fbf9f213c8a654d2661fc64e7.zip |
Extra comments on fields of the Window object.
FossilOrigin-Name: 3dbed162518a73213bbfb137c763064518fdc2daeae3952cfab39ce0e6813d3f
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index e7c1d9c1f..0a3c432bf 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -3601,8 +3601,8 @@ struct Window { Expr *pFilter; /* The FILTER expression */ FuncDef *pFunc; /* The function */ int iEphCsr; /* Partition buffer or Peer buffer */ - int regAccum; - int regResult; + int regAccum; /* Accumulator */ + int regResult; /* Interim result */ int csrApp; /* Function cursor (used by min/max) */ int regApp; /* Function register (also used by min/max) */ int regPart; /* Array of registers for PARTITION BY values */ @@ -3612,7 +3612,8 @@ struct Window { int regOne; /* Register containing constant value 1 */ int regStartRowid; int regEndRowid; - u8 bExprArgs; + u8 bExprArgs; /* Defer evaluation of window function arguments + ** due to the SQLITE_SUBTYPE flag */ }; #ifndef SQLITE_OMIT_WINDOWFUNC |