diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-05-07 10:37:50 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-05-07 10:37:50 -0600 |
commit | 0966dde0d44d5b42b132e3f2b8e8c6e3dc2c93fe (patch) | |
tree | 8f876af64e7b40323e71f334a499a347cbb9fcc4 /cursor.go | |
parent | Add inline bucket support. (diff) | |
download | dedo-0966dde0d44d5b42b132e3f2b8e8c6e3dc2c93fe.tar.gz dedo-0966dde0d44d5b42b132e3f2b8e8c6e3dc2c93fe.tar.xz |
Fix bucket free.
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 } |