aboutsummaryrefslogtreecommitdiff
path: root/src/btree.h
diff options
context:
space:
mode:
authordan <Dan Kennedy>2022-11-28 18:41:41 +0000
committerdan <Dan Kennedy>2022-11-28 18:41:41 +0000
commit1b3d13e65e125500d1034e889b37363baa8f1e38 (patch)
tree81840dd9a80fe5015dbd1ae798fe620876f38667 /src/btree.h
parente862b5fe1d2bda6ef7d557471c150c82ec453455 (diff)
downloadsqlite-1b3d13e65e125500d1034e889b37363baa8f1e38.tar.gz
sqlite-1b3d13e65e125500d1034e889b37363baa8f1e38.zip
Add the SQLITE_FCNTL_RESET_CACHE verb. Use it to ensure that the page cache is purged before and after a the recovery extension is run.
FossilOrigin-Name: 6db0bc4bc0d272b610bef2aeeae43f539ed6e7cc0a9cc767d5af85ecb0019d5f
Diffstat (limited to 'src/btree.h')
-rw-r--r--src/btree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/btree.h b/src/btree.h
index 7f31c6020..c9b9d8017 100644
--- a/src/btree.h
+++ b/src/btree.h
@@ -368,6 +368,8 @@ void sqlite3BtreeCursorList(Btree*);
int sqlite3BtreeTransferRow(BtCursor*, BtCursor*, i64);
+void sqlite3BtreeClearCache(Btree*);
+
/*
** If we are not using shared cache, then there is no need to
** use mutexes to access the BtShared structures. So make the