Activate multidb context always when dbengine is compiled (#10732)
Stelios Fragkakis committed
Mar 9, 2021 at 18:15 UTC
9c768c691100998bc7910aefdd9ae4ff79417763
1 file changed
+5
database/rrdhost.c
+5
@@ -335,6 +335,11 @@ RRDHOST *rrdhost_create(const char *hostname,
335
fatal("RRD_MEMORY_MODE_DBENGINE is not supported in this platform.");
336
#endif
337
}
338
+ else {
339
+#ifdef ENABLE_DBENGINE
340
+ host->rrdeng_ctx = &multidb_ctx;
341
+#endif
342
+ }
343
344
// ------------------------------------------------------------------------
345
// link it and add it to the index