🐛 数据库索引报错卡住 Fix https://github.com/siyuan-note/siyuan/issues/5684
This commit is contained in:
parent
fa6f57dc97
commit
5a748a762f
1 changed files with 1 additions and 0 deletions
|
@ -167,6 +167,7 @@ func (box *Box) Index(fullRebuildIndex bool) (treeCount int, treeSize int64) {
|
|||
continue
|
||||
}
|
||||
if err = sql.InsertBlocksSpans(tx, tree); nil != err {
|
||||
sql.RollbackTx(tx)
|
||||
continue
|
||||
}
|
||||
if err = sql.CommitTx(tx); nil != err {
|
||||
|
|
Loading…
Add table
Reference in a new issue