From 571f20167268659befb8f8e5ea943c511d364cce Mon Sep 17 00:00:00 2001 From: Martin Kobetic Date: Fri, 20 Jun 2014 14:53:25 +0000 Subject: split the freelist page count stats to free and pending --- db.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'db.go') 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 -- cgit v1.2.3