From 98ec5423939543c68c51cdba710cf4d733d23a6b Mon Sep 17 00:00:00 2001 From: Zack Fu Zi Xiang Date: Tue, 17 Dec 2024 11:33:25 +0800 Subject: [PATCH] fix: remove assert when delete blob metadata --- libs/database/src/resource_usage.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/database/src/resource_usage.rs b/libs/database/src/resource_usage.rs index 15510f641..d7cf1a884 100644 --- a/libs/database/src/resource_usage.rs +++ b/libs/database/src/resource_usage.rs @@ -127,7 +127,7 @@ pub async fn delete_blob_metadata( .execute(tx.deref_mut()) .await?; let n = result.rows_affected(); - assert_eq!(n, 1); + tracing::info!("delete_blob_metadata: rows_affected: {}", n); Ok(()) }