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

In order to identify the first row of each partition, check if the rowid in the ephemeral table is 1 instead of using a dedicated flag register.

FossilOrigin-Name: f2d5f7a24c7aa483c579706c5bd7268a74da6d53025d78fa8642908c2aed1707
This commit is contained in:
dan
2019-03-16 10:15:24 +00:00
parent c782a81aa5
commit bf84515a2b
4 changed files with 14 additions and 18 deletions

View File

@@ -3576,8 +3576,7 @@ struct Window {
Expr *pOwner; /* Expression object this window is attached to */
int nBufferCol; /* Number of columns in buffer table */
int iArgCol; /* Offset of first argument for this function */
int regFirst;
int regOne; /* Register containing constant value 1 */
int regStartRowid;
int regEndRowid;
};