Nicolas Gotchac
2096f04092
Add lifetimes for `DBIterator` return types ( #294 )
5 years ago
Nathan Fiedler
6e39fd715b
Add get_updates_since() wrapper and its iterator ( #332 )
5 years ago
Oleksandr Anyshchenko
a05151f6ae
Merge with master and update changelog
5 years ago
Ilya Bogdanov
932a70e1f1
Add `DB::latest_sequence_number` method. ( #326 )
5 years ago
pavel-mukhanov
bc63f2b057
Clone snapshot in test instead of create new.
5 years ago
pavel-mukhanov
7449fda48e
Rewrite sync_snapshot_test without unchecked threads.
5 years ago
pavel-mukhanov
c8d9f6e56f
Fix fmt.
5 years ago
Oleksandr Anyshchenko
bc79a73a34
Change path to backup
5 years ago
Oleksandr Anyshchenko
21f871d211
Windows panic fix
5 years ago
pavel-mukhanov
e08fe8f6e0
Add test for sync snapshot.
5 years ago
Oleksandr Anyshchenko
54ff3db8ec
Change a column family storing
5 years ago
Martin Ek
91a536d03b
Remove allocations from SliceTransform's callback
6 years ago
Jordan Terrell
9e98f60a65
Adding test for AsRef<[u8]> impl on DBVector...
6 years ago
Oleksandr Anyshchenko
e7f5c24105
Applied clippy lints
6 years ago
Jordan Terrell
ca1c76b2de
Add test to prove creating duplicate column family results in error...
6 years ago
Jordan Terrell
602a683646
Confirm calling Options.increase_parallelism works on all platforms...
6 years ago
Martin Ek
54cf68d3d0
rustfmt
6 years ago
Martin Ek
7b38b29d8c
Add more tests
6 years ago
Martin Ek
3a069ff4dc
Return a Result from property getters
6 years ago
Xuejie Xiao
aa2c695941
Use DBPath in PinnableSlice test
6 years ago
Xuejie Xiao
a651b19aa5
Code review fixes
6 years ago
Xuejie Xiao
dbd2ca6e4f
Implement PinnableSlice based API
6 years ago
Jordan Terrell
ceb5744c51
Implementing review feedback...
6 years ago
Jordan Terrell
896dbc6c61
Applying changes from rustfmt...
6 years ago
Jordan Terrell
d00e03f72a
Using generic types to specify column families when opening database...
6 years ago
Jordan Terrell
e1a534ca5e
Removing unnecessary pub modifier on test functions...
6 years ago
Jordan Terrell
f09fbaea71
Minor tweak to test comment...
6 years ago
Jordan Terrell
4c0d662435
Adding test to validate correct behavior of prefix_iterator...
6 years ago
Jordan Terrell
4dfedd9dfd
Removing unnecessary let bindings in tests...
6 years ago
Jordan Terrell
cf4679d8e8
Some test cleanup...
6 years ago
Jordan Terrell
4a974054b2
Fixing incorrect copyright year...
6 years ago
Jordan Terrell
8f843a8eb7
Adding missing end-of-file newlines...
6 years ago
Jordan Terrell
21b9a9e98a
Key/value arguments are now generic types that impl AsRef<[u8]>...
6 years ago
Jordan Terrell
1a2c268274
Moving tests to take advantage of DBPath (ensuring cleanup)...
6 years ago
Martin Ek
33d30d4ca1
Add tests
6 years ago
Jordan Terrell
895c3f0c32
Fixing spelling typos...
6 years ago
Oleksandr Anyshchenko
05350ac88c
Added a clear method for WriteBatch
6 years ago
Oleksandr Anyshchenko
b7b456954a
Review changes
6 years ago
Jordan Terrell
e565d68852
Fixing rustfmt.toml and applying formatting...
6 years ago
Jordan Terrell
16183467ef
Changing comments to doc-comments [skip ci]
6 years ago
Jordan Terrell
9108205a6d
Test fix: Ensuring db cleanup doesn't happen until after test completion...
6 years ago
Jordan Terrell
0a1eff1833
Renaming DBName to DBPath and implementing AsRef<Path> on DBPath...
6 years ago
Eugene P
0caadb7d7e
Add initial checkpoints implementation and tests
...
Reformat code
Extract log_size_for_flush into constant
Fix test nits
Rename Checkpoint to CheckpointBuilder and fix test nit
Add comment to LOG_SIZE_FOR_FLUSH and fix CheckpointBuilder comment
Rename CheckpointBuilder to Checkpoint and create_checkpoint to save_to
Rename save_to to create_checkpoint to be consistent with C API naming
6 years ago
Oleksandr Anyshchenko
8863012a19
Methods `crate_cf` and `drop_cf` are immutable.
6 years ago
Tyler Neely
3f3851e720
Update test_iterator.rs
...
more completely resolve conflict
6 years ago
Martin Ek
17588a7658
Make sure DB is dropped after all tests
7 years ago
Martin Ek
dbcca72ce6
Clean-up after test_prefix_iterator
7 years ago
Martin Ek
37470d341c
Add db.full_iterator()
7 years ago
Diego Ongaro
aa9550254a
Fix reverse iteration from a given key
...
Now when you reverse iterate past the last key, it goes backwards from the end.
When you reverse iterate before the first key, you get nothing out.
Note: This is a breaking change if users have come to depend on the old
behavior.
7 years ago
Tyler Neely
f6a27ae221
fix prefix iterator test
7 years ago