summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/daemon/main.c2
-rw-r--r--src/database/rrdhost.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/daemon/main.c b/src/daemon/main.c
index cb91b9bb84..8f11b21691 100644
--- a/src/daemon/main.c
+++ b/src/daemon/main.c
@@ -1531,7 +1531,9 @@ int main(int argc, char **argv) {
// set defaults for dbegnine unittest
config_set(CONFIG_SECTION_DB, "dbengine page type", "gorilla");
+#ifdef ENABLE_DBENGINE
default_rrdeng_disk_quota_mb = default_multidb_disk_quota_mb = 256;
+#endif
if (sqlite_library_init())
return 1;
diff --git a/src/database/rrdhost.c b/src/database/rrdhost.c
index a005d60d27..a2f6d4d1ae 100644
--- a/src/database/rrdhost.c
+++ b/src/database/rrdhost.c
@@ -260,6 +260,7 @@ static void rrdhost_initialize_rrdpush_sender(RRDHOST *host,
rrdhost_option_clear(host, RRDHOST_OPTION_SENDER_ENABLED);
}
+#ifdef ENABLE_DBENGINE
//
// true on success
//
@@ -323,6 +324,7 @@ static RRDHOST *prepare_host_for_unittest(RRDHOST *host)
}
return host;
}
+#endif
static RRDHOST *rrdhost_create(
const char *hostname,