fix missing iteration-optimized read options on several stream types
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
d59f68a51a
commit
94f2384fb0
6 changed files with 28 additions and 18 deletions
|
@ -118,7 +118,7 @@ pub(super) fn is_cached<P>(map: &Arc<super::Map>, from: &P) -> bool
|
|||
where
|
||||
P: AsRef<[u8]> + ?Sized,
|
||||
{
|
||||
let cache_opts = super::cache_read_options_default();
|
||||
let cache_opts = super::cache_iter_options_default();
|
||||
let cache_status = stream::State::new(map, cache_opts)
|
||||
.init_rev(from.as_ref().into())
|
||||
.status();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue