mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Remove unreachable branches from pcache.c. (CVS 5620)
FossilOrigin-Name: 7de32498b349e046c5c886de255bbdefd6a7e8f7
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
** file simultaneously, or one process from reading the database while
|
||||
** another is writing.
|
||||
**
|
||||
** @(#) $Id: pager.c,v 1.481 2008/08/26 21:07:27 drh Exp $
|
||||
** @(#) $Id: pager.c,v 1.482 2008/08/27 09:44:40 danielk1977 Exp $
|
||||
*/
|
||||
#ifndef SQLITE_OMIT_DISKIO
|
||||
#include "sqliteInt.h"
|
||||
@@ -2825,10 +2825,6 @@ static int pagerAcquire(
|
||||
if( rc!=SQLITE_OK ){
|
||||
return rc;
|
||||
}
|
||||
if( pPager->errCode && pPg->nRef==1 ){
|
||||
sqlite3PcacheDrop(pPg);
|
||||
return pPager->errCode;
|
||||
}
|
||||
if( pPg->pPager==0 ){
|
||||
/* The pager cache has created a new page. Its content needs to
|
||||
** be initialized.
|
||||
|
Reference in New Issue
Block a user