convert_db: fix build

This commit is contained in:
Alex 2023-10-10 14:06:25 +02:00
parent d4932c31ea
commit 3d7892477d

View file

@ -57,7 +57,7 @@ fn open_db(path: PathBuf, engine: String) -> Result<Db> {
env_builder.max_dbs(100);
env_builder.map_size(map_size);
unsafe {
env_builder.flag(heed::flags::Flags::MdbNoMetaSync);
env_builder.flag(lmdb_adapter::heed::flags::Flags::MdbNoMetaSync);
}
let db = env_builder.open(&path)?;
Ok(lmdb_adapter::LmdbDb::init(db))