diff options
Diffstat (limited to 'src/btree.c')
-rw-r--r-- | src/btree.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/btree.c b/src/btree.c index 65b5594dd..052f917b7 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.274 2005/12/16 06:54:02 danielk1977 Exp $ +** $Id: btree.c,v 1.275 2005/12/16 15:24:29 danielk1977 Exp $ ** ** This file implements a external (disk-based) database using BTrees. ** For a detailed discussion of BTrees, refer to @@ -5818,15 +5818,3 @@ int sqlite3BtreeSync(Btree *pBt, const char *zMaster){ return SQLITE_OK; } -#ifndef SQLITE_OMIT_GLOBALRECOVER -/* -** Reset the btree and underlying pager after a malloc() failure. Any -** transaction that was active when malloc() failed is rolled back. -*/ -int sqlite3BtreeReset(Btree *pBt){ - if( pBt->pCursor ) return SQLITE_BUSY; - pBt->inTrans = TRANS_NONE; - unlockBtreeIfUnused(pBt); - return sqlite3pager_reset(pBt->pPager); -} -#endif |