From 0a5a0d0d51ad298937637a91b05b61dae3e94d26 Mon Sep 17 00:00:00 2001 From: Sfan5 Date: Wed, 5 Mar 2014 22:40:01 +0100 Subject: [PATCH] Fix sqlite3 not being usable as backend --- TileGenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TileGenerator.cpp b/TileGenerator.cpp index 67be16d..327926f 100644 --- a/TileGenerator.cpp +++ b/TileGenerator.cpp @@ -295,7 +295,7 @@ void TileGenerator::openDb(const std::string &input) if(m_backend == "sqlite3") m_db = new DBSQLite3(input); #if USE_LEVELDB - if(m_backend == "leveldb") + else if(m_backend == "leveldb") m_db = new DBLevelDB(input); #endif else