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

Remove an superfluous branch from pager.c.

FossilOrigin-Name: 4271a95c8236bda4a4f8c02bf3a3560de1d00402
This commit is contained in:
drh
2010-08-16 20:02:09 +00:00
parent 4bcc4988f1
commit 919fc66ea7
3 changed files with 20 additions and 11 deletions

View File

@@ -6567,9 +6567,8 @@ int sqlite3PagerOpenWal(
if( !pPager->tempFile && !pPager->pWal ){
if( !sqlite3PagerWalSupported(pPager) ) return SQLITE_CANTOPEN;
if( isOpen(pPager->jfd) ){
sqlite3OsClose(pPager->jfd);
}
/* Close any rollback journal previously open */
sqlite3OsClose(pPager->jfd);
/* Open the connection to the log file. If this operation fails,
** (e.g. due to malloc() failure), unlock the database file and