Merge pull request #1941 from molecula/fb-1214

[FB-1214] Fix RBF recovery when using methodical meta page detection
This commit is contained in:
tgruben 2022-02-25 09:55:21 -06:00 • committed by GitHub
commit f0dc484044
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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++