Changeset - da196682876c
[Not reviewed]
0 1 0
Jan Kaluza - 13 years ago 2012-10-11 10:45:32
hanzz.k@gmail.com
Do not force sqlite3 storage backend
1 file changed with 1 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/storagebackend.cpp
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general)