diff options
author | marvin-j97 <marvin.janke.97@gmail.com> | 2024-09-04 18:51:51 +0200 |
---|---|---|
committer | marvin-j97 <marvin.janke.97@gmail.com> | 2024-09-04 18:51:51 +0200 |
commit | eb416a02fb9f6d7fef23d52d87624e2c23ec0336 (patch) | |
tree | 5f84c90cb2ecadff94b1a79aabf3bdc6161c10c4 /src/db | |
parent | 74363c906065a559beef4c3c93e8f73a7ecff437 (diff) | |
download | garage-eb416a02fb9f6d7fef23d52d87624e2c23ec0336.tar.gz garage-eb416a02fb9f6d7fef23d52d87624e2c23ec0336.zip |
dont assert deletion count in sqlite KV adapter
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/sqlite_adapter.rs | 1 |
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(()) |