aboutsummaryrefslogtreecommitdiff
path: root/buckets.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-02-15 10:26:53 -0700
committerBen Johnson <benbjohnson@yahoo.com>2014-02-15 10:26:53 -0700
commita92b9c4cc9a9cee920dc4a1591716a5bda550301 (patch)
treec1747819b8499d03e4a5348b1f42d1c22b73e3f2 /buckets.go
parentMerge pull request #30 from benbjohnson/examples (diff)
parentAdd bucket sequence. (diff)
downloaddedo-a92b9c4cc9a9cee920dc4a1591716a5bda550301.tar.gz
dedo-a92b9c4cc9a9cee920dc4a1591716a5bda550301.tar.xz
Merge pull request #31 from benbjohnson/sequence
Sequence
Diffstat (limited to 'buckets.go')
-rw-r--r--buckets.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/buckets.go b/buckets.go
index bb4b960..6d9f27c 100644
--- a/buckets.go
+++ b/buckets.go
@@ -63,7 +63,10 @@ func (b *buckets) read(p *page) {
// Associate keys and items.
for index, key := range keys {
- b.items[key] = &bucket{items[index].root}
+ b.items[key] = &bucket{
+ root: items[index].root,
+ sequence: items[index].sequence,
+ }
}
}