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

@@ -784,8 +784,6 @@ int sqlite3BtreeCopyFile(Btree *pTo, Btree *pFrom){
rc = sqlite3_backup_finish(&b);
if( rc==SQLITE_OK ){
pTo->pBt->btsFlags &= ~BTS_PAGESIZE_FIXED;
}else{
sqlite3PagerClearCache(sqlite3BtreePager(b.pDest));
}
assert( sqlite3BtreeIsInTrans(pTo)==0 );