diff options
author | dan <dan@noemail.net> | 2018-06-12 20:53:38 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2018-06-12 20:53:38 +0000 |
commit | c0bb4459d35a30dee53be3ffdfc4ad2bd8659da4 (patch) | |
tree | 7df9c5378977bf89fc6aaac9b7e6a7e7425916b9 /src/btree.c | |
parent | 7392569f5ee59708ede3dde1d17e0f02ef5b8123 (diff) | |
download | sqlite-c0bb4459d35a30dee53be3ffdfc4ad2bd8659da4.tar.gz sqlite-c0bb4459d35a30dee53be3ffdfc4ad2bd8659da4.zip |
Fix another issue to do with window-functions in aggregate queries.
FossilOrigin-Name: 6413e38a174044c28fa9b8b937e6c972d144547a246e6f2882e782538300d042
Diffstat (limited to 'src/btree.c')
-rw-r--r-- | src/btree.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/btree.c b/src/btree.c index 0e0d04310..35e13478b 100644 --- a/src/btree.c +++ b/src/btree.c @@ -5185,6 +5185,11 @@ int sqlite3BtreeFirst(BtCursor *pCur, int *pRes){ return rc; } +/* +** This function is a no-op if cursor pCur does not point to a valid row. +** Otherwise, if pCur is valid, configure it so that the next call to +** sqlite3BtreeNext() is a no-op. +*/ void sqlite3BtreeSkipNext(BtCursor *pCur){ if( pCur->eState==CURSOR_VALID ){ pCur->eState = CURSOR_SKIPNEXT; |