Fix sqlite3 not being usable as backend

This commit is contained in:
Sfan5 2014-03-05 22:40:01 +01:00
parent 7e3e0a067c
commit 0a5a0d0d51

@ -295,7 +295,7 @@ void TileGenerator::openDb(const std::string &input)
if(m_backend == "sqlite3") if(m_backend == "sqlite3")
m_db = new DBSQLite3(input); m_db = new DBSQLite3(input);
#if USE_LEVELDB #if USE_LEVELDB
if(m_backend == "leveldb") else if(m_backend == "leveldb")
m_db = new DBLevelDB(input); m_db = new DBLevelDB(input);
#endif #endif
else else