From a1f43f4d60bf434baebf13b4810e5db4916baec5 Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Sat, 1 Mar 2014 09:13:59 -0700 Subject: Allow reads of unflushed nodes. This commit allows cursors to read updated values from within the RWTransaction. --- bucket.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bucket.go') diff --git a/bucket.go b/bucket.go index d62d798..6c1eb5c 100644 --- a/bucket.go +++ b/bucket.go @@ -35,7 +35,7 @@ func (b *Bucket) Cursor() *Cursor { return &Cursor{ transaction: b.transaction, root: b.root, - stack: make([]pageElementRef, 0), + stack: make([]elemRef, 0), } } -- cgit v1.2.3