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 /page.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 'page.go')
-rw-r--r-- | page.go | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -33,12 +33,6 @@ type page struct { ptr uintptr } -// pageElementRef represents a reference to an element on a given page. -type pageElementRef struct { - page *page - index uint16 -} - // typ returns a human readable page type string used for debugging. func (p *page) typ() string { if (p.flags & branchPageFlag) != 0 { |