diff options
author | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2023-10-29 21:56:10 +0200 |
---|---|---|
committer | Tasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com> | 2023-10-30 13:55:09 +0200 |
commit | 61792132167d6f79aa7f876e66e7a28cac478fb3 (patch) | |
tree | 4c07b51e1f57b94eac2efa5a418fad45229a0970 | |
parent | 60cd86dac50678805efead490aa4147bc11881b9 (diff) |
Fix label copy: allow new key with different value
-rw-r--r-- | database/rrdlabels.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/database/rrdlabels.c b/database/rrdlabels.c index 62ef0535ff..6505b4b2dd 100644 --- a/database/rrdlabels.c +++ b/database/rrdlabels.c @@ -1040,8 +1040,6 @@ void rrdlabels_copy(RRDLABELS *dst, RRDLABELS *src) lfe_start_nolock(src, label, ls) { RRDLABEL *old_label_with_key = rrdlabels_find_label_with_key_unsafe(dst, label); - if (old_label_with_key) - continue; Pvoid_t *PValue = JudyLIns(&dst->JudyL, (Word_t)label, PJE0); if(unlikely(!PValue || PValue == PJERR)) |