diff options
author | Alex Auvolat <alex@adnab.me> | 2024-02-08 19:02:48 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-02-08 23:29:57 +0100 |
commit | bcbd15da84181ad94ece7e794933a6ebd388f5bc (patch) | |
tree | c7b21f8b5d9c800f3a0be5f1ca26a0c956c63288 /src/garage/cli/convert_db.rs | |
parent | ad5ce968d212d951f7459c36bcbdd78ce39be585 (diff) | |
download | garage-bcbd15da84181ad94ece7e794933a6ebd388f5bc.tar.gz garage-bcbd15da84181ad94ece7e794933a6ebd388f5bc.zip |
[dep-upgrade-202402] cargo clippy fixes
Diffstat (limited to 'src/garage/cli/convert_db.rs')
-rw-r--r-- | src/garage/cli/convert_db.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/garage/cli/convert_db.rs b/src/garage/cli/convert_db.rs index 044ccbb9..6b854ccb 100644 --- a/src/garage/cli/convert_db.rs +++ b/src/garage/cli/convert_db.rs @@ -67,8 +67,8 @@ fn open_db(path: PathBuf, engine: Engine, open: &OpenDbOpt) -> Result<Db> { #[cfg(feature = "sqlite")] Engine::Sqlite => { let db = sqlite_adapter::rusqlite::Connection::open(&path)?; - db.pragma_update(None, "journal_mode", &"WAL")?; - db.pragma_update(None, "synchronous", &"NORMAL")?; + db.pragma_update(None, "journal_mode", "WAL")?; + db.pragma_update(None, "synchronous", "NORMAL")?; Ok(sqlite_adapter::SqliteDb::init(db)) } #[cfg(feature = "lmdb")] |