aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordan <dan@noemail.net>2018-06-08 16:11:55 +0000
committerdan <dan@noemail.net>2018-06-08 16:11:55 +0000
commitdacf1de95c75ffdaf01537a21666a270e29a670c (patch)
treed306c967bbb97d13af0f864519866055d875e66b /src/sqliteInt.h
parent03854d2eccd79a5538da1ead29ed52dca85d5332 (diff)
downloadsqlite-dacf1de95c75ffdaf01537a21666a270e29a670c.tar.gz
sqlite-dacf1de95c75ffdaf01537a21666a270e29a670c.zip
Do not flatten sub-queries that contain window functions.
FossilOrigin-Name: 236cb75bd1f0d5eb86aa5f52d8d548e7263c34633833dcea9dfc934f142113b8
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index d69b569f6..d2b773088 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -3502,10 +3502,11 @@ Window *sqlite3WindowAlloc(Parse*, int, int, Expr*, int , Expr*);
void sqlite3WindowAttach(Parse*, Expr*, Window*);
int sqlite3WindowCompare(Parse*, Window*, Window*);
void sqlite3WindowCodeInit(Parse*, Window*);
-void sqlite3WindowCodeStep(Parse*, Select*, WhereInfo*, int, int, int*);
+void sqlite3WindowCodeStep(Parse*, Select*, WhereInfo*, int, int);
int sqlite3WindowRewrite(Parse*, Select*);
int sqlite3ExpandSubquery(Parse*, struct SrcList_item*);
void sqlite3WindowUpdate(Parse*, Window*, FuncDef*);
+Window *sqlite3WindowDup(sqlite3 *db, Window *p);
/*
** Assuming zIn points to the first byte of a UTF-8 character,