mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-31 13:58:49 +01:00
🎨 Update database
This commit is contained in:
parent
f4258c706d
commit
2b733a776a
1 changed files with 0 additions and 6 deletions
|
|
@ -645,12 +645,6 @@ func setAttributeViewColumnCalc(operation *Operation) (err error) {
|
|||
func (tx *Transaction) doInsertAttrViewBlock(operation *Operation) (ret *TxErr) {
|
||||
for _, id := range operation.SrcIDs {
|
||||
tree, err := tx.loadTree(id)
|
||||
if nil == tree {
|
||||
operation.IsDetached = true
|
||||
} else {
|
||||
operation.IsDetached = false
|
||||
}
|
||||
|
||||
if nil != err && !operation.IsDetached {
|
||||
logging.LogErrorf("load tree [%s] failed: %s", id, err)
|
||||
return &TxErr{code: TxErrCodeBlockNotFound, id: id, msg: err.Error()}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue