aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2008-04-03 21:46:57 +0000
committerdrh <drh@noemail.net>2008-04-03 21:46:57 +0000
commitd094db1c7b0b1a5abeb5bf585cfd601f19ff5e7f (patch)
tree87e62bb5e81e3bebb494099592440943a5f6cec9 /src
parent4b1d66c1ec060cdfc59faa0972a19826b34ca971 (diff)
downloadsqlite-d094db1c7b0b1a5abeb5bf585cfd601f19ff5e7f.tar.gz
sqlite-d094db1c7b0b1a5abeb5bf585cfd601f19ff5e7f.zip
Remove superfluous code from btree.c. (CVS 4964)
FossilOrigin-Name: 40173010706fb52ecd60197ce6e97d51a1899267
Diffstat (limited to 'src')
-rw-r--r--src/btree.c18
1 files changed, 3 insertions, 15 deletions
diff --git a/src/btree.c b/src/btree.c
index 8bac8429f..452bf22b4 100644
--- a/src/btree.c
+++ b/src/btree.c
@@ -9,7 +9,7 @@
** May you share freely, never taking more than you give.
**
*************************************************************************
-** $Id: btree.c,v 1.450 2008/04/02 18:33:08 drh Exp $
+** $Id: btree.c,v 1.451 2008/04/03 21:46:57 drh Exp $
**
** This file implements a external (disk-based) database using BTrees.
** See the header comment on "btreeInt.h" for additional information.
@@ -3780,7 +3780,7 @@ sqlite3 *sqlite3BtreeCursorDb(const BtCursor *pCur){
** was already pointing to the last entry in the database before
** this routine was called, then set *pRes=1.
*/
-static int btreeNext(BtCursor *pCur, int *pRes){
+int sqlite3BtreeNext(BtCursor *pCur, int *pRes){
int rc;
MemPage *pPage;
@@ -3840,12 +3840,6 @@ static int btreeNext(BtCursor *pCur, int *pRes){
rc = moveToLeftmost(pCur);
return rc;
}
-int sqlite3BtreeNext(BtCursor *pCur, int *pRes){
- int rc;
- assert( cursorHoldsMutex(pCur) );
- rc = btreeNext(pCur, pRes);
- return rc;
-}
/*
@@ -3854,7 +3848,7 @@ int sqlite3BtreeNext(BtCursor *pCur, int *pRes){
** was already pointing to the first entry in the database before
** this routine was called, then set *pRes=1.
*/
-static int btreePrevious(BtCursor *pCur, int *pRes){
+int sqlite3BtreePrevious(BtCursor *pCur, int *pRes){
int rc;
Pgno pgno;
MemPage *pPage;
@@ -3908,12 +3902,6 @@ static int btreePrevious(BtCursor *pCur, int *pRes){
*pRes = 0;
return rc;
}
-int sqlite3BtreePrevious(BtCursor *pCur, int *pRes){
- int rc;
- assert( cursorHoldsMutex(pCur) );
- rc = btreePrevious(pCur, pRes);
- return rc;
-}
/*
** Allocate a new page from the database file.