Garage v0.9 #473

Merged
lx merged 175 commits from next into main 2023-10-10 13:28:29 +00:00
Showing only changes of commit 3d7892477d - Show all commits

View file

@ -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))