Fix RBF recovery when using methodical meta page detection

This commit is contained in:
Ben Johnson 2022-02-24 16:05:12 -07:00
parent c9368d5e7a
commit 28c41e9b4d

View file

@ -261,7 +261,7 @@ func (db *DB) methodicalWALPageN(pageN int) (lastMeta int, err error) {
}
switch {
case IsMetaPage(page):
lastMeta = i
lastMeta = i + 1
case IsBitmapHeader(page):
// skip the bitmap page, which we can't usefully evaluate
i++