mirror of
https://github.com/minetest/minetest.git
synced 2024-11-24 00:23:46 +01:00
Remove confusing code block from SQLite3 database
This commit is contained in:
parent
d9de29fa50
commit
50127510e7
@ -86,14 +86,11 @@ void Database_SQLite3::verifyDatabase() {
|
|||||||
if(m_database)
|
if(m_database)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
{
|
std::string dbp = m_savedir + DIR_DELIM "map.sqlite";
|
||||||
std::string dbp = m_savedir + DIR_DELIM + "map.sqlite";
|
|
||||||
bool needs_create = false;
|
bool needs_create = false;
|
||||||
int d;
|
int d;
|
||||||
|
|
||||||
/*
|
// Open the database connection
|
||||||
Open the database connection
|
|
||||||
*/
|
|
||||||
|
|
||||||
createDirs(m_savedir); // ?
|
createDirs(m_savedir); // ?
|
||||||
|
|
||||||
@ -138,7 +135,6 @@ void Database_SQLite3::verifyDatabase() {
|
|||||||
|
|
||||||
infostream<<"ServerMap: SQLite3 database opened"<<std::endl;
|
infostream<<"ServerMap: SQLite3 database opened"<<std::endl;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
void Database_SQLite3::saveBlock(MapBlock *block)
|
void Database_SQLite3::saveBlock(MapBlock *block)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user