diff options
Diffstat (limited to 'cmd/bolt/pages.go')
-rw-r--r-- | cmd/bolt/pages.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/bolt/pages.go b/cmd/bolt/pages.go index 2b55c69..ab2b67d 100644 --- a/cmd/bolt/pages.go +++ b/cmd/bolt/pages.go @@ -39,7 +39,10 @@ func Pages(path string) { overflow = strconv.Itoa(p.OverflowCount) } printf("%-8d %-10s %-6d %-6s\n", p.ID, p.Type, p.Count, overflow) - id += 1 + p.OverflowCount + id += 1 + if p.Type != "free" { + id += p.OverflowCount + } } return nil }) |