aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormarvin-j97 <marvin.janke.97@gmail.com>2024-09-04 18:51:51 +0200
committermarvin-j97 <marvin.janke.97@gmail.com>2024-09-04 18:51:51 +0200
commiteb416a02fb9f6d7fef23d52d87624e2c23ec0336 (patch)
tree5f84c90cb2ecadff94b1a79aabf3bdc6161c10c4 /src
parent74363c906065a559beef4c3c93e8f73a7ecff437 (diff)
downloadgarage-eb416a02fb9f6d7fef23d52d87624e2c23ec0336.tar.gz
garage-eb416a02fb9f6d7fef23d52d87624e2c23ec0336.zip
dont assert deletion count in sqlite KV adapter
Diffstat (limited to 'src')
-rw-r--r--src/db/sqlite_adapter.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/db/sqlite_adapter.rs b/src/db/sqlite_adapter.rs
index eb106a31..5a142117 100644
--- a/src/db/sqlite_adapter.rs
+++ b/src/db/sqlite_adapter.rs
@@ -193,7 +193,6 @@ impl IDb for SqliteDb {
let lock = self.write_lock.lock();
let n = db.execute(&format!("DELETE FROM {} WHERE k = ?1", tree), params![key])?;
- assert_eq!(n, 1);
drop(lock);
Ok(())