Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor::iter_from panics when database has duplicate keys #13

Open
danburkert opened this issue Jul 31, 2016 · 1 comment
Open

Cursor::iter_from panics when database has duplicate keys #13

danburkert opened this issue Jul 31, 2016 · 1 comment

Comments

@danburkert
Copy link
Owner

@tarcieri reported this panic, which is coming from the unwrap call. It's not clear how/what is going on here, except that perhaps iter_from should return a Result. Further clarification on in exactly what situations this happens would be good to add to the documentation. Reproducible test case: tarcieri/ithos@6d15568#commitcomment-18461783

@tarcieri
Copy link
Contributor

tarcieri commented Aug 1, 2016

Aah, duplicate keys may be why the tests for #7 are failing (they're expecting an Error::NotFound which isn't happening)

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

No branches or pull requests

2 participants