mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-15 08:30:42 +08:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
aa18ee658d
@ -29,7 +29,7 @@ import (
|
||||
)
|
||||
|
||||
func GetRefDuplicatedDefRootIDs() (ret []string) {
|
||||
rows, err := query("SELECT DISTINCT def_block_root_id FROM `refs` GROUP BY def_block_id, def_block_root_id HAVING COUNT(*) > 1 LIMIT 1")
|
||||
rows, err := query("SELECT DISTINCT def_block_root_id FROM `refs` GROUP BY def_block_id, def_block_root_id, block_id HAVING COUNT(*) > 1")
|
||||
if nil != err {
|
||||
logging.LogErrorf("sql query failed: %s", err)
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user