This commit is contained in:
Liang Ding 2022-08-20 20:42:36 +08:00
parent fa6f57dc97
commit 5a748a762f
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

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 {