From 12f4a8255a701463575d4ccc429af87e3302f54c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 19 Nov 2018 19:39:37 +0100 Subject: [PATCH] Main: use DatabasePlugin::RequireStorage() --- src/Main.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main.cxx b/src/Main.cxx index 211627e63..06d7b1915 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -192,7 +192,7 @@ glue_db_init_and_load(const ConfigData &config) if (instance->database == nullptr) return true; - if (instance->database->GetPlugin().flags & DatabasePlugin::FLAG_REQUIRE_STORAGE) { + if (instance->database->GetPlugin().RequireStorage()) { InitStorage(config, instance->io_thread.GetEventLoop()); if (instance->storage == nullptr) {