This commit is contained in:
Liang Ding
2022-08-20 20:42:36 +08:00
parent fa6f57dc97
commit 5a748a762f

View File

@@ -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 {