aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <>2023-05-03 13:33:37 +0000
committerdrh <>2023-05-03 13:33:37 +0000
commitdda2833a4ef0410dd8bba373a9dd3e30314f8058 (patch)
tree87134e635f6ac1a5b000dcdd0c234826b3066d18 /src
parent69e2422973c0b86d922f0b186f501424c78da135 (diff)
downloadsqlite-dda2833a4ef0410dd8bba373a9dd3e30314f8058.tar.gz
sqlite-dda2833a4ef0410dd8bba373a9dd3e30314f8058.zip
Add a comment to the [0512f82a2cde7447] change to link it to its TH3 test case.
FossilOrigin-Name: 1281d4d9d799ef83e6eb51d656ede82b4503d39adf169deb936b30ebfddd88b1
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;