diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-03-01 09:13:59 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-03-01 09:13:59 -0700 |
commit | a1f43f4d60bf434baebf13b4810e5db4916baec5 (patch) | |
tree | 75850081fdb236f37c82d6e8fcd4cde5b81354d8 /bucket.go | |
parent | Merge branch 'master' of https://github.com/boltdb/bolt (diff) | |
download | dedo-a1f43f4d60bf434baebf13b4810e5db4916baec5.tar.gz dedo-a1f43f4d60bf434baebf13b4810e5db4916baec5.tar.xz |
Allow reads of unflushed nodes.
This commit allows cursors to read updated values from within the
RWTransaction.
Diffstat (limited to 'bucket.go')
-rw-r--r-- | bucket.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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), } } |