aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2022-09-27 19:11:47 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2022-09-27 19:11:47 -0400
commit368094c3003a4d0d0837fd934f6b7d0ed04007ea (patch)
treed566c65416df495a29f3d29aa45a291eb753c6e4
parent084d7873269fad79794302a18199306755401899 (diff)
downloaddeduper-368094c3003a4d0d0837fd934f6b7d0ed04007ea.tar.xz
Force path compression after merging.
-rw-r--r--xsig/src/signature_db.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/xsig/src/signature_db.cpp b/xsig/src/signature_db.cpp
index 907e815..d03e12a 100644
--- a/xsig/src/signature_db.cpp
+++ b/xsig/src/signature_db.cpp
@@ -581,7 +581,11 @@ void signature_db::group_similar()
batch_ds_set_parent_begin();
auto pairs = this->dupe_pairs();
for (auto &p : pairs)
+ {
ds_merge(p.id1, p.id2);
+ ds_find(p.id1);
+ ds_find(p.id2);
+ }
batch_ds_get_parent_end();
batch_ds_set_parent_end();
}