1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Coverage tests for vacuum.c (CVS 1776)

FossilOrigin-Name: 152e9940b919a53fcd0da4091dbf75ab8ef15b38
This commit is contained in:
danielk1977
2004-06-30 09:49:22 +00:00
parent bc6ada4103
commit 96fb0dd55a
11 changed files with 109 additions and 35 deletions

View File

@@ -18,7 +18,7 @@
** file simultaneously, or one process from reading the database while
** another is writing.
**
** @(#) $Id: pager.c,v 1.147 2004/06/28 04:52:30 danielk1977 Exp $
** @(#) $Id: pager.c,v 1.148 2004/06/30 09:49:24 danielk1977 Exp $
*/
#include "os.h" /* Must be first to enable large file support */
#include "sqliteInt.h"
@@ -2317,7 +2317,7 @@ static int pager_open_journal(Pager *pPager){
pPager->aInJournal = 0;
sqlite3OsUnlock(&pPager->fd, SHARED_LOCK);
pPager->state = PAGER_SHARED;
return SQLITE_CANTOPEN;
return rc;
}
sqlite3OsOpenDirectory(pPager->zDirectory, &pPager->jfd);
pPager->journalOpen = 1;