1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Clarify the relationship between a Window object and its associated Expr.

FossilOrigin-Name: 0cd55e98a478740032f5569ddc00fa5b0e063e90db6e00ac7598c9b7c2fffeee
This commit is contained in:
dan
2018-06-11 20:50:25 +00:00
parent 26522d1c45
commit 2a11bb23eb
6 changed files with 79 additions and 157 deletions

View File

@@ -3488,7 +3488,6 @@ struct Window {
Expr *pFilter;
FuncDef *pFunc;
int nArg;
int iEphCsr; /* Temp table used by this window */
int regAccum;
@@ -3513,7 +3512,7 @@ void sqlite3WindowCodeStep(Parse*, Select*, WhereInfo*, int, int);
int sqlite3WindowRewrite(Parse*, Select*);
int sqlite3ExpandSubquery(Parse*, struct SrcList_item*);
void sqlite3WindowUpdate(Parse*, Window*, Window*, FuncDef*);
Window *sqlite3WindowDup(sqlite3 *db, Window *p);
Window *sqlite3WindowDup(sqlite3 *db, Expr *pOwner, Window *p);
/*
** Assuming zIn points to the first byte of a UTF-8 character,