diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-05-07 12:09:36 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-05-07 12:09:36 -0600 |
commit | 3d2e092a5deea650f24cfb3d5fb70be7e43b6066 (patch) | |
tree | 3fb231ac0b39c9e45c041fcb9889ae0b11e3741c /cursor.go | |
parent | Merge pull request #153 from benbjohnson/consolidate (diff) | |
parent | Minor fixes. (diff) | |
download | dedo-3d2e092a5deea650f24cfb3d5fb70be7e43b6066.tar.gz dedo-3d2e092a5deea650f24cfb3d5fb70be7e43b6066.tar.xz |
Merge pull request #154 from benbjohnson/inline-buckets
(wip) Add inline bucket support.
Diffstat (limited to 'cursor.go')
-rw-r--r-- | cursor.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -148,7 +148,7 @@ func (c *Cursor) seek(seek []byte) (key []byte, value []byte, flags uint32) { func (c *Cursor) first() { for { // Exit when we hit a leaf page. - ref := &c.stack[len(c.stack)-1] + var ref = &c.stack[len(c.stack)-1] if ref.isLeaf() { break } |