Nan Jiang
8a46f68f5f
Refactor Stat
6 years ago
Nan Jiang
10697cda7b
Add database level stat function
6 years ago
Nan Jiang
d62da60df5
Add freelist to environment ( #41 )
6 years ago
Myk Melez
8f50c35fdc
update patch version for lmdb-rkv 0.11.3
6 years ago
Nan Jiang
ca00a0986c
Expose set_map_size from environment ( #36 )
...
* Expose set_map_size from environment
* Export Info
* Review fixes
6 years ago
Myk Melez
d3ff0039d6
update patch version for lmdb-rkv 0.11.2
...
Update the patch version for lmdb-rkv to 0.11.2 and the lmdb-rkv-sys dependency version to 0.8.2 in preparation for publishing lmdb-rkv 0.11.2.
6 years ago
Myk Melez
ce8b7dd9e4
use newly published lmdb-rkv-sys crate with upgraded LMDB version 0.9.23
6 years ago
Myk Melez
7456a07993
update LMDB to latest stable release version 0.9.23
6 years ago
Myk Melez
846268ef92
panic instead of ignoring error
6 years ago
Myk Melez
6a3bee7cea
explicitly destructure Ok result
6 years ago
Myk Melez
67d627cb04
update minor version for breaking change in #14
6 years ago
Myk Melez
0b2cff0c83
update minor version for breaking change in #18
6 years ago
Myk Melez
f6444786cf
also modify html_root_url in lib.rs
6 years ago
Myk Melez
65507bde0a
remove trailing whitespace
6 years ago
Rick Richardson
8ff1b47e26
verifying that None passed to del in ITER_DUP dbs will delete all matching keys
6 years ago
Rick Richardson
5aa123cdbc
updated Transaction::del. Fixes #17
6 years ago
Rick Richardson
8599e4051e
added test for deleting values from an iter_dup db
6 years ago
Myk Melez
af923dc62d
explicitly identify reference in match patterns
6 years ago
Myk Melez
a558fab590
convert Iter/IterDup to enums
...
Instead of boxing Iter/IterDup to generalize across both successful and failed attempts to get an iterator, we make Iter and IterDup be enums with Ok and Err variants, where the Ok variant behaves like the current implementations, and the Err variant always returns an error.
6 years ago
Myk Melez
7f2ab01e09
also update version in html_root_url in lib.rs
6 years ago
Myk Melez
09bd1de39b
remove unnecessary commented-out code
6 years ago
Myk Melez
6f06c1c1e9
remove test that is no longer relevant
6 years ago
Myk Melez
6ff053db6a
correct size of default memory map
6 years ago
Myk Melez
6414b83a10
alias Box<Iter> type to BoxedIter; make iter_dup_from return iterator too
6 years ago
Myk Melez
58d46ec4d9
return Iter that produces error result from Cursor.iter*
6 years ago
Myk Melez
99f24f745d
fix test failure; clarify iterator collection type
6 years ago
Myk Melez
c3cb55c825
demonstrate various uses of API
6 years ago
Myk Melez
3fcf9306df
make Cursor::iter_*() methods return Result instead of panicking
6 years ago
Dan Burkert
c64f0b4f82
Simplify empty database iter handling
...
This commit changes the API of Cursor::iter_dup_of, and is thus a
breaking change.
6 years ago
Marshall Pierce
c616e3d51e
Don't panic on iter_start() on an empty db.
6 years ago
Myk Melez
342e50d387
ignore NotFound error when seeking to key in iter_from/iter_dup_from
6 years ago
Myk Melez
984d53b2cd
confirm that iter_from/iter_dup_from seek to first key >= specified key
6 years ago
Tony Arcieri
126aa4cd6c
Test iter_from/iter_dup_from with nonexistent keys
6 years ago
Tony Arcieri
869e16d1d2
Have iter_from/iter_dup_from return a Result
...
It previously called unwrap() which panics if a key isn't found
6 years ago
Nan Jiang
12b4611006
Add a note for windows UNC path
6 years ago
Myk Melez
6d345e6ceb
prepare to publish on crates.io as lmdb-rkv package
6 years ago
Myk Melez
fe6bcde6c2
ignore NotFound error when seeking to key in iter_from/iter_dup_from
7 years ago
Myk Melez
d6dad15f3e
confirm that iter_from/iter_dup_from seek to first key >= specified key
7 years ago
Dan Burkert
90e8880995
0.8.0
7 years ago
Dan Burkert
5a70b18c0a
Remove deny(warnings)
7 years ago
Dan Burkert
e8e58fd04c
Add test for Environment::stats
7 years ago
Dan Burkert
09af4d92b7
Update docs and small tweaks
7 years ago
Dan Burkert
8e0bdab382
doc(hidden) -> pub(crate)
...
fixes #17
7 years ago
Dan Burkert
d0fda113ca
try! -> ?
7 years ago
Arthur Gautier
c15f22c884
Typo in documentation ( #22 )
7 years ago
zach
0f613773c1
Update dependencies and add database statistics ( #23 )
...
Add database statistics in a new `Stats` type
Also bundles a few other changes:
- Switch from `gcc` crate to `cc` for building lmdb
- Bump `bitflags` crate to 1.0
- Bump minimum required `rustc` from `1.8` to `1.20`
This is a breaking change.
7 years ago
Dan Burkert
6539d449f0
0.7.2
7 years ago
Dan Burkert
547841a3e2
Compile lmdb with opt level O2
...
LMDB segfaults reliably with newer GCC versions when compiled with O3.
Regression test included.
fixes #21
7 years ago
Dan Burkert
b2efebf54a
0.7.1
7 years ago
Sam Rijs
4b93278182
case mdb_strerror output to *const c_char ( #19 )
7 years ago