diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-02-15 10:23:00 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-02-15 10:23:00 -0700 |
commit | e68bc0b4530475503afb34956dfb915673af919c (patch) | |
tree | c1747819b8499d03e4a5348b1f42d1c22b73e3f2 /buckets.go | |
parent | Merge pull request #30 from benbjohnson/examples (diff) | |
download | dedo-e68bc0b4530475503afb34956dfb915673af919c.tar.gz dedo-e68bc0b4530475503afb34956dfb915673af919c.tar.xz |
Add bucket sequence.
Diffstat (limited to 'buckets.go')
-rw-r--r-- | buckets.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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, + } } } |