aboutsummaryrefslogtreecommitdiff
path: root/src/btree.c
diff options
context:
space:
mode:
authordan <dan@noemail.net>2018-06-22 20:51:35 +0000
committerdan <dan@noemail.net>2018-06-22 20:51:35 +0000
commit67a9b8eded051b514db853d53746f484f87bc23b (patch)
treecc14e3517ed605657b00b8278d520abd81051c01 /src/btree.c
parent17074e3a9e1ab157fc37a361e2a4adc43d00e866 (diff)
downloadsqlite-67a9b8eded051b514db853d53746f484f87bc23b.tar.gz
sqlite-67a9b8eded051b514db853d53746f484f87bc23b.zip
Omit all window-function related code when building with SQLITE_OMIT_WINDOWFUNC.
FossilOrigin-Name: 5f04b016467342b5a796bf702ed25b621eb86f2961c1e703d276c93f2cb6aa89
Diffstat (limited to 'src/btree.c')
-rw-r--r--src/btree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/btree.c b/src/btree.c
index 35e13478b..d2c580d11 100644
--- a/src/btree.c
+++ b/src/btree.c
@@ -5190,12 +5190,14 @@ int sqlite3BtreeFirst(BtCursor *pCur, int *pRes){
** Otherwise, if pCur is valid, configure it so that the next call to
** sqlite3BtreeNext() is a no-op.
*/
+#ifndef SQLITE_OMIT_WINDOWFUNC
void sqlite3BtreeSkipNext(BtCursor *pCur){
if( pCur->eState==CURSOR_VALID ){
pCur->eState = CURSOR_SKIPNEXT;
pCur->skipNext = 1;
}
}
+#endif /* SQLITE_OMIT_WINDOWFUNC */
/* Move the cursor to the last entry in the table. Return SQLITE_OK
** on success. Set *pRes to 0 if the cursor actually points to something