From 77c68bb770747930c810c7a9061c9a5e0d41d13e Mon Sep 17 00:00:00 2001 From: HanzZ Date: Wed, 21 Dec 2011 10:39:28 +0100 Subject: [PATCH] Support 'none' storage backend --- spectrum/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spectrum/src/main.cpp b/spectrum/src/main.cpp index ea8f33d6..c57573ea 100644 --- a/spectrum/src/main.cpp +++ b/spectrum/src/main.cpp @@ -396,7 +396,7 @@ int main(int argc, char **argv) #endif if (CONFIG_STRING(&config, "database.type") != "mysql" && CONFIG_STRING(&config, "database.type") != "sqlite3" - && CONFIG_STRING(&config, "database.type") != "pqxx") { + && CONFIG_STRING(&config, "database.type") != "pqxx" && CONFIG_STRING(&config, "database.type") != "none") { std::cerr << "Unknown storage backend " << CONFIG_STRING(&config, "database.type") << "\n"; return -2; }