danburkert / lmdb-rs

Safe Rust bindings for LMDB
Apache License 2.0
172 stars 87 forks source link

make iter_from and iter_dup_from behave consistently w/nonexistent keys #30

Closed mykmelez closed 6 years ago

mykmelez commented 6 years ago

Per #29 (from which this branches), this makes _iterfrom and _iter_dupfrom behave consistently when seeking to a key that may or may not exist and may or may not be greater than any key in the store, which is more usable for callers whose behavior doesn't depend on the presence of the given key (nor any greater ones).

danburkert commented 6 years ago

Merged as part of #37