Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: 清理资源文件后再次上传相同文件异常 Fix https://github.com/siyuan-note/siyuan/issues/6260

Liang Ding212b823935ee
diff --git a/kernel/sql/aseet.go b/kernel/sql/aseet.go
index e83c171114..a3dff9767f 100644
--- a/kernel/sql/aseet.go
+++ b/kernel/sql/aseet.go
@@ -99,7 +99,6 @@ func DeleteAssetsByHashes(hashes []string) {
return
}
execStmtTx(tx, sqlStmt)
-
CommitTx(tx)
}