summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStelios Fragkakis <52996999+stelfrag@users.noreply.github.com>2023-10-29 21:56:10 +0200
committerTasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com>2023-10-30 13:55:09 +0200
commit61792132167d6f79aa7f876e66e7a28cac478fb3 (patch)
tree4c07b51e1f57b94eac2efa5a418fad45229a0970
parent60cd86dac50678805efead490aa4147bc11881b9 (diff)
Fix label copy: allow new key with different value
-rw-r--r--database/rrdlabels.c2
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))