Do not force sqlite3 storage backend
This commit is contained in:
parent
2b5b1ca860
commit
da19668287
1 changed files with 1 additions and 2 deletions
|
@ -10,8 +10,7 @@ namespace Transport {
|
|||
StorageBackend *StorageBackend::createBackend(Config *config, std::string &error) {
|
||||
StorageBackend *storageBackend = NULL;
|
||||
#ifdef WITH_SQLITE
|
||||
if (CONFIG_STRING(config, "database.type") == "sqlite3" ||
|
||||
(CONFIG_STRING(config, "database.type") == "none" && !CONFIG_BOOL(config, "service.server_mode"))) {
|
||||
if (CONFIG_STRING(config, "database.type") == "sqlite3") {
|
||||
storageBackend = new SQLite3Backend(config);
|
||||
}
|
||||
#else
|
||||
|
|
Loading…
Add table
Reference in a new issue