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

Further coverage improvements for pager.c and another IO error bug fix. (CVS 3001)

FossilOrigin-Name: a9ec5ee4724ab993e71ef8b387e2d92f3e74959c
This commit is contained in:
danielk1977
2006-01-23 15:25:48 +00:00
parent c6dc0f7a79
commit 8a7aea3bb3
6 changed files with 94 additions and 19 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.251 2006/01/23 13:47:47 danielk1977 Exp $
** @(#) $Id: pager.c,v 1.252 2006/01/23 15:25:48 danielk1977 Exp $
*/
#ifndef SQLITE_OMIT_DISKIO
#include "sqliteInt.h"
@@ -1464,9 +1464,7 @@ static int pager_stmt_playback(Pager *pPager){
pPager->journalOff = szJ;
end_stmt_playback:
if( rc!=SQLITE_OK ){
rc = pager_error(pPager, SQLITE_CORRUPT);
}else{
if( rc==SQLITE_OK) {
pPager->journalOff = szJ;
/* pager_reload_cache(pPager); */
}