mirror of
https://github.com/minetest/minetestmapper.git
synced 2024-11-21 23:13:53 +01:00
Fix sqlite3 not being usable as backend
This commit is contained in:
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
|
||||||
|
Loading…
Reference in New Issue
Block a user