1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Remove the sqlite3PagerClearCache() routine, which does not accomplish anything

useful.

FossilOrigin-Name: f250166bb3c1b0c58e703b334825cf6210758fda
This commit is contained in:
drh
2016-05-20 18:09:01 +00:00
parent f431a87c7c
commit d20b2a4109
5 changed files with 9 additions and 22 deletions

View File

@@ -7157,16 +7157,6 @@ sqlite3_backup **sqlite3PagerBackupPtr(Pager *pPager){
return &pPager->pBackup;
}
#ifndef SQLITE_OMIT_VACUUM
/*
** Unless this is an in-memory or temporary database, clear the pager cache.
*/
void sqlite3PagerClearCache(Pager *pPager){
assert( MEMDB==0 || pPager->tempFile );
if( pPager->tempFile==0 ) pager_reset(pPager);
}
#endif
#ifndef SQLITE_OMIT_WAL
/*
** This function is called when the user invokes "PRAGMA wal_checkpoint",