mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-14 00:22:38 +03:00
Remove dead code. (CVS 5601)
FossilOrigin-Name: 6de9c084fc533fbb22af6a4cd3e4e9a461b13876
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
*************************************************************************
|
||||
** This file implements that page cache.
|
||||
**
|
||||
** @(#) $Id: pcache.c,v 1.9 2008/08/22 17:09:50 danielk1977 Exp $
|
||||
** @(#) $Id: pcache.c,v 1.10 2008/08/22 17:34:45 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
|
||||
@@ -440,6 +440,7 @@ static void pcachePageFree(PgHdr *p){
|
||||
pcacheFree(p);
|
||||
}
|
||||
|
||||
#ifdef SQLITE_ENABLE_MEMORY_MANAGEMENT
|
||||
/*
|
||||
** Return the number of bytes that will be returned to the heap when
|
||||
** the argument is passed to pcachePageFree().
|
||||
@@ -452,6 +453,7 @@ static int pcachePageSize(PgHdr *p){
|
||||
assert( p && p->pCache );
|
||||
return sqlite3MallocSize(p);
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
** Recycle a page from the global LRU list. If no page can be recycled,
|
||||
|
||||
Reference in New Issue
Block a user