forked from Deuxfleurs/garage
dont assert deletion count in sqlite KV adapter
This commit is contained in:
parent
74363c9060
commit
eb416a02fb
1 changed files with 0 additions and 1 deletions
|
@ -193,7 +193,6 @@ impl IDb for SqliteDb {
|
||||||
let lock = self.write_lock.lock();
|
let lock = self.write_lock.lock();
|
||||||
|
|
||||||
let n = db.execute(&format!("DELETE FROM {} WHERE k = ?1", tree), params![key])?;
|
let n = db.execute(&format!("DELETE FROM {} WHERE k = ?1", tree), params![key])?;
|
||||||
assert_eq!(n, 1);
|
|
||||||
|
|
||||||
drop(lock);
|
drop(lock);
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
Loading…
Reference in a new issue