aboutsummaryrefslogtreecommitdiff
path: root/src/btree.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2020-03-17 13:41:51 +0000
committerdrh <drh@noemail.net>2020-03-17 13:41:51 +0000
commite50478d7279b72a9df4836729c9974abfbce08ff (patch)
tree2814321be4903ccb3ed423f4ef62ba9ab946fd1c /src/btree.c
parentdc4a1687b8b53a4464bbffaf351e25305b6a525e (diff)
downloadsqlite-e50478d7279b72a9df4836729c9974abfbce08ff.tar.gz
sqlite-e50478d7279b72a9df4836729c9974abfbce08ff.zip
Remove the SQLITE_OMIT_BTREECOUNT option. Btree count is required.
FossilOrigin-Name: a9bfa47aeea27e91611ba913d33e6635d2016e2c2ab78f9b0657f1bd8933e1a8
Diffstat (limited to 'src/btree.c')
-rw-r--r--src/btree.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/btree.c b/src/btree.c
index 083968391..c2103819c 100644
--- a/src/btree.c
+++ b/src/btree.c
@@ -9508,7 +9508,6 @@ int sqlite3BtreeUpdateMeta(Btree *p, int idx, u32 iMeta){
return rc;
}
-#ifndef SQLITE_OMIT_BTREECOUNT
/*
** The first argument, pCur, is a cursor opened on some b-tree. Count the
** number of entries in the b-tree and write the result to *pnEntry.
@@ -9581,7 +9580,6 @@ int sqlite3BtreeCount(sqlite3 *db, BtCursor *pCur, i64 *pnEntry){
/* An error has occurred. Return an error code. */
return rc;
}
-#endif
/*
** Return the pager associated with a BTree. This routine is used for