aboutsummaryrefslogtreecommitdiff
path: root/src/wal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wal.c')
-rw-r--r--src/wal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wal.c b/src/wal.c
index fa22e64c8..eb97831dc 100644
--- a/src/wal.c
+++ b/src/wal.c
@@ -3505,6 +3505,7 @@ static int walFindFrame(
iRead = iFrame;
}
if( (nCollide--)==0 ){
+ *piRead = 0;
return SQLITE_CORRUPT_BKPT;
}
iKey = walNextHash(iKey);