Fix dimension HETEROGENEOUS check (#16234)
Stelios Fragkakis committed
Oct 18, 2023 at 12:11 UTC
46c7e6f8da6a2b41a671ac6f0778deddd02ef4aa
1 file changed
+1
-1
database/rrddim.c
+1
-1
@@ -126,7 +126,7 @@ static void rrddim_insert_callback(const DICTIONARY_ITEM *item __maybe_unused, v
126
if(rrdset_number_of_dimensions(st) != 0) {
127
RRDDIM *td;
128
dfe_start_write(st->rrddim_root_index, td) {
129
- if(!td) break;
129
+ if(td) break;
130
}
131
dfe_done(td);
132