From eb416a02fb9f6d7fef23d52d87624e2c23ec0336 Mon Sep 17 00:00:00 2001 From: marvin-j97 Date: Wed, 4 Sep 2024 18:51:51 +0200 Subject: [PATCH] dont assert deletion count in sqlite KV adapter --- src/db/sqlite_adapter.rs | 1 - 1 file changed, 1 deletion(-) 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(())