aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordan <dan@noemail.net>2020-01-01 20:17:15 +0000
committerdan <dan@noemail.net>2020-01-01 20:17:15 +0000
commit4ea562ee7007f184b53faa4a2bbdbfa70d0dbe9c (patch)
treed39b2c23cbcc1db8377a124eae6cbb1efa73362f /src/sqliteInt.h
parentaef81674211ab2f0f93852e3e9ca3bebb7e77c0b (diff)
downloadsqlite-4ea562ee7007f184b53faa4a2bbdbfa70d0dbe9c.tar.gz
sqlite-4ea562ee7007f184b53faa4a2bbdbfa70d0dbe9c.zip
Ensure that when code for a scalar SELECT featuring window functions is generated more than once by the planner, separate ephemeral tables are opened for each instance.
FossilOrigin-Name: ce1417325273aba866767349b55d9bbfb61a08e716bebda2122918a9657ee38c
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 8090f77cc..6eb07b7c6 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -3727,7 +3727,7 @@ Window *sqlite3WindowAlloc(Parse*, int, int, Expr*, int , Expr*, u8);
void sqlite3WindowAttach(Parse*, Expr*, Window*);
void sqlite3WindowLink(Select *pSel, Window *pWin);
int sqlite3WindowCompare(Parse*, Window*, Window*, int);
-void sqlite3WindowCodeInit(Parse*, Window*);
+void sqlite3WindowCodeInit(Parse*, Select*);
void sqlite3WindowCodeStep(Parse*, Select*, WhereInfo*, int, int);
int sqlite3WindowRewrite(Parse*, Select*);
int sqlite3ExpandSubquery(Parse*, struct SrcList_item*);