An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: Correct the FTS target table branch of indexNode https://github.com/siyuan-note/siyuan/issues/17536 (#17557)
Jeffrey Chen1cb44c4d24c7
diff --git a/kernel/sql/block.go b/kernel/sql/block.goindex 591ecce330..dce623cfa0 100644--- a/kernel/sql/block.go+++ b/kernel/sql/block.go@@ -127,13 +127,13 @@ func indexNode(tx *sql.Tx, id string) (err error) {return}if caseSensitive {- stmt = "UPDATE blocks_fts_case_insensitive SET content = ? WHERE id = ?"+ stmt = "UPDATE blocks_fts SET content = ? WHERE id = ?"if err = execStmtTx(tx, stmt, content, id); err != nil {tx.Rollback()return}} else {- stmt = "UPDATE blocks_fts SET content = ? WHERE id = ?"+ stmt = "UPDATE blocks_fts_case_insensitive SET content = ? WHERE id = ?"if err = execStmtTx(tx, stmt, content, id); err != nil {tx.Rollback()return