diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-06-09 11:07:25 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-06-09 11:07:25 -0600 |
commit | 6ddb05669876058bdfe08c140e8ef8111564162d (patch) | |
tree | d8b3b955b07d42635005846460289ed70af0b428 /doc.go | |
parent | Merge pull request #185 from benbjohnson/fix-bulk-delete (diff) | |
download | dedo-6ddb05669876058bdfe08c140e8ef8111564162d.tar.gz dedo-6ddb05669876058bdfe08c140e8ef8111564162d.tar.xz |
Fix last element seek.
This commit fixes a bug with seeks where seeking to a key between the end
of a page and the beginning of the next page causes it to return nil. This
was fixed by calling Cursor.next() when the cursor ends up between pages.
This also changes Cursor.Next() so that calling Next() at the end of a bucket
leaves the cursor at the end instead of zeroing out the stack.
Fixes #186.
/cc @PreetamJinka
Diffstat (limited to 'doc.go')
0 files changed, 0 insertions, 0 deletions