aboutsummaryrefslogtreecommitdiff
path: root/page.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-03-01 09:13:59 -0700
committerBen Johnson <benbjohnson@yahoo.com>2014-03-01 09:13:59 -0700
commita1f43f4d60bf434baebf13b4810e5db4916baec5 (patch)
tree75850081fdb236f37c82d6e8fcd4cde5b81354d8 /page.go
parentMerge branch 'master' of https://github.com/boltdb/bolt (diff)
downloaddedo-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.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/page.go b/page.go
index 77a31e4..5b60c4d 100644
--- a/page.go
+++ b/page.go
@@ -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 {