aboutsummaryrefslogtreecommitdiff
path: root/src/garage/cli
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-10-10 14:06:25 +0200
committerAlex Auvolat <alex@adnab.me>2023-10-10 14:06:25 +0200
commit3d7892477d69cfd0a8d52653e3eb777194c38f3e (patch)
tree570d3454bbea4e67a350852d8a3107764da67ea1 /src/garage/cli
parentd4932c31ea7d2430749ef5f37b9e47b36c1fafa8 (diff)
downloadgarage-3d7892477d69cfd0a8d52653e3eb777194c38f3e.tar.gz
garage-3d7892477d69cfd0a8d52653e3eb777194c38f3e.zip
convert_db: fix build
Diffstat (limited to 'src/garage/cli')
-rw-r--r--src/garage/cli/convert_db.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/garage/cli/convert_db.rs b/src/garage/cli/convert_db.rs
index ffb5c44c..3c6ce69c 100644
--- a/src/garage/cli/convert_db.rs
+++ b/src/garage/cli/convert_db.rs
@@ -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))