🎨 Repeated references to the same block within a block only count as one reference Fix https://github.com/siyuan-note/siyuan/issues/9670

This commit is contained in:
Daniel 2023-11-16 20:34:50 +08:00
parent cbc005119a
commit 6bb89ed2e5
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 23 additions and 4 deletions

View file

@ -73,8 +73,8 @@ func removeDuplicateDatabaseRefs() {
refreshRefsByDefID(rootID)
}
if 0 < len(duplicatedRootIDs) {
logging.LogWarnf("exist more than one ref duplicated [%d], reindex it", len(duplicatedRootIDs))
for _, rootID := range duplicatedRootIDs {
logging.LogWarnf("exist more than one ref duplicated [%s], reindex it", rootID)
}
}