]> git.lizzy.rs Git - minetest.git/blobdiff - src/database-sqlite3.cpp
Precalculate mapblock relative size. This permit to remove many s16 calculs on runtime
[minetest.git] / src / database-sqlite3.cpp
index c937cae3128bfafac52e7fd6d8634b5bacf142cb..84b1a712281a3826f387554fd96a829395fdad83 100644 (file)
@@ -30,7 +30,6 @@ SQLite format specification:
 #include "log.h"
 #include "filesys.h"
 #include "exceptions.h"
-#include "main.h"
 #include "settings.h"
 #include "util/string.h"
 
@@ -65,7 +64,9 @@ Database_SQLite3::Database_SQLite3(const std::string &savedir) :
        m_stmt_read(NULL),
        m_stmt_write(NULL),
        m_stmt_list(NULL),
-       m_stmt_delete(NULL)
+       m_stmt_delete(NULL),
+       m_stmt_begin(NULL),
+       m_stmt_end(NULL)
 {
 }