Support 'none' storage backend
This commit is contained in:
parent
fe74083e2e
commit
77c68bb770
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue