forked from Deuxfleurs/garage
convert_db: fix build
This commit is contained in:
parent
d4932c31ea
commit
3d7892477d
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ fn open_db(path: PathBuf, engine: String) -> Result<Db> {
|
||||||
env_builder.max_dbs(100);
|
env_builder.max_dbs(100);
|
||||||
env_builder.map_size(map_size);
|
env_builder.map_size(map_size);
|
||||||
unsafe {
|
unsafe {
|
||||||
env_builder.flag(heed::flags::Flags::MdbNoMetaSync);
|
env_builder.flag(lmdb_adapter::heed::flags::Flags::MdbNoMetaSync);
|
||||||
}
|
}
|
||||||
let db = env_builder.open(&path)?;
|
let db = env_builder.open(&path)?;
|
||||||
Ok(lmdb_adapter::LmdbDb::init(db))
|
Ok(lmdb_adapter::LmdbDb::init(db))
|
||||||
|
|
Loading…
Reference in a new issue