Skip to content

Revert "Fix iterator moving backwards and created unit test for the J…#63

Merged
davsclaus merged 1 commit into
fusesource:masterfrom
jerrydlamme:revert-52-master
May 21, 2015
Merged

Revert "Fix iterator moving backwards and created unit test for the J…#63
davsclaus merged 1 commit into
fusesource:masterfrom
jerrydlamme:revert-52-master

Conversation

@jerrydlamme

Copy link
Copy Markdown
Contributor

Reverts #52

leveldb API says:
// Position at the last key in the source. The iterator is
// Valid() after this call iff the source is not empty.
virtual void SeekToLast() = 0;

This commit put the iterator at a fake position after the last key, which is not correct. The moving back
is thus changed, and assertion failure happens.
API behavior cannot be changed this way.

DBTest.java is failing and thus build fails.
Every commit should at least make build clear.

So I am filing this PR to revert it.

davsclaus added a commit that referenced this pull request May 21, 2015
Revert "Fix iterator moving backwards and created unit test for the J…
@davsclaus davsclaus merged commit b186dc4 into fusesource:master May 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants