aboutsummaryrefslogtreecommitdiff
path: root/db.go
diff options
context:
space:
mode:
Diffstat (limited to 'db.go')
-rw-r--r--db.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/db.go b/db.go
index 9a125ee..d7037f9 100644
--- a/db.go
+++ b/db.go
@@ -559,7 +559,8 @@ func (db *DB) allocate(count int) (*page, error) {
// Stats represents statistics about the database.
type Stats struct {
// Freelist stats
- FreePageN int // total number of free pages
+ FreePageN int // total number of free pages on the freelist
+ PendingPageN int // total number of pending pages on the freelist
FreeAlloc int // total bytes allocated in free pages
FreelistInuse int // total bytes used by the freelist