aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wal.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wal.c b/src/wal.c
index 7e349a789..46d284c1b 100644
--- a/src/wal.c
+++ b/src/wal.c
@@ -3710,7 +3710,9 @@ int sqlite3WalFrames(
if( rc ) return rc;
}
}
- if( (int)pWal->szPage!=szPage ) return SQLITE_CORRUPT_BKPT;
+ if( (int)pWal->szPage!=szPage ){
+ return SQLITE_CORRUPT_BKPT; /* TH3 test case: cov1/corrupt155.test */
+ }
/* Setup information needed to write frames into the WAL */
w.pWal = pWal;