From 1858583b3b0b9db3794a35fa9689c8c351363dbf Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Thu, 22 Dec 2016 17:05:52 -0800 Subject: Clean up after #636 freelist.lenall duplicated freelist.count. freelist.copyall and mergepgids docs had typos. --- tx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tx.go') diff --git a/tx.go b/tx.go index 37a8ca1..6700308 100644 --- a/tx.go +++ b/tx.go @@ -381,7 +381,7 @@ func (tx *Tx) Check() <-chan error { func (tx *Tx) check(ch chan error) { // Check if any pages are double freed. freed := make(map[pgid]bool) - all := make([]pgid, tx.db.freelist.lenall()) + all := make([]pgid, tx.db.freelist.count()) tx.db.freelist.copyall(all) for _, id := range all { if freed[id] { -- cgit v1.2.3