aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordan <dan@noemail.net>2019-03-14 16:36:20 +0000
committerdan <dan@noemail.net>2019-03-14 16:36:20 +0000
commita0f6b83300ecc6abf83e6cfad20a50d4406cde9b (patch)
tree42b4801cadde7701c858f15e213fb5cbb559db94 /src/sqliteInt.h
parentdb7d895e9d145be140b8290f930a3be521861a0a (diff)
downloadsqlite-a0f6b83300ecc6abf83e6cfad20a50d4406cde9b.tar.gz
sqlite-a0f6b83300ecc6abf83e6cfad20a50d4406cde9b.zip
Add things to this branch that will be required to support the EXCLUDE clause.
FossilOrigin-Name: 7d66cd2013206ebad50c7cdb7dab9211fa8b47f5cb7067dcb314b3e0180875f8
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index bb6882832..8c878228e 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -3561,6 +3561,7 @@ struct Window {
u8 eStart; /* UNBOUNDED, CURRENT, PRECEDING or FOLLOWING */
u8 eEnd; /* UNBOUNDED, CURRENT, PRECEDING or FOLLOWING */
u8 bImplicitFrame; /* True if frame was implicitly specified */
+ u8 eExclude;
Expr *pStart; /* Expression for "<expr> PRECEDING" */
Expr *pEnd; /* Expression for "<expr> FOLLOWING" */
Window *pNextWin; /* Next window function belonging to this SELECT */
@@ -3576,6 +3577,9 @@ struct Window {
int nBufferCol; /* Number of columns in buffer table */
int iArgCol; /* Offset of first argument for this function */
int regFirst;
+
+ int regStartRowid;
+ int regEndRowid;
};
#ifndef SQLITE_OMIT_WINDOWFUNC