diff options
author | dan <dan@noemail.net> | 2019-07-22 16:20:03 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2019-07-22 16:20:03 +0000 |
commit | 75b0821e999cb14d4081a6ff8090e28e49e5bc7e (patch) | |
tree | 778d751b5c8ac70cb3800d06990a15b9dde08a8b /src/sqliteInt.h | |
parent | fd15e18d7fe9bea571c52324a6eae25f3e2b4ebc (diff) | |
download | sqlite-75b0821e999cb14d4081a6ff8090e28e49e5bc7e.tar.gz sqlite-75b0821e999cb14d4081a6ff8090e28e49e5bc7e.zip |
Remove Window objects from the corresponding Select.pWin list when they are deleted.
FossilOrigin-Name: d23f33168222dfa40a67dc7de58057418151989e81429e4af47617e86db04667
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 0d3e19efc..e55eadea6 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -3594,6 +3594,7 @@ struct Window { u8 eExclude; /* TK_NO, TK_CURRENT, TK_TIES, TK_GROUP, or 0 */ Expr *pStart; /* Expression for "<expr> PRECEDING" */ Expr *pEnd; /* Expression for "<expr> FOLLOWING" */ + Window **ppThis; /* Pointer to this object in Select.pWin list */ Window *pNextWin; /* Next window function belonging to this SELECT */ Expr *pFilter; /* The FILTER expression */ FuncDef *pFunc; /* The function */ @@ -3627,14 +3628,10 @@ Window *sqlite3WindowListDup(sqlite3 *db, Window *p); void sqlite3WindowFunctions(void); void sqlite3WindowChain(Parse*, Window*, Window*); Window *sqlite3WindowAssemble(Parse*, Window*, ExprList*, ExprList*, Token*); -void sqlite3WindowRemoveExprFromSelect(Select*,Expr*); -void sqlite3WindowRemoveExprListFromSelect(Select*,ExprList*); #else # define sqlite3WindowDelete(a,b) # define sqlite3WindowFunctions() # define sqlite3WindowAttach(a,b,c) -# define sqlite3WindowRemoveExprFromSelect(Select*,Expr*); -# define sqlite3WindowRemoveExprListFromSelect(Select*,ExprList*); #endif /* |