aboutsummaryrefslogtreecommitdiff
path: root/src/database-sqlite3.cpp
AgeCommit message (Collapse)Author
2017-04-23Player data to Database (#5475)Loïc Blot
* Player data to Database Add player data into databases (SQLite3 & PG only) PostgreSQL & SQLite: better POO Design for databases Add --migrate-players argument to server + deprecation warning * Remove players directory if empty
2016-07-08Fix -Wterminate warning on GCC 6est31
Fixes #4137
2016-05-17Implement DatabaseException for databasesnerzhul
2016-05-17DB::loadBlock copy removal & DB backend cleanupLoic Blot
* Remove the copy from db::loadBlock by using a pointer to the destination * cleanup db backend, the child backend doesn't have to set their functions as virtual
2015-12-30Include custom error message in all SQLite3 exceptions.Rogier
And replace manual tests for error with SQLOK() where possible.
2015-12-30Handle SQLITE_BUSY errors gracefullyRogier
This allows other applications (e.g. minetestmapper) to interrogate the database while minetest is running, without causing an almost certain minetest crash.
2015-10-14Use warningstream for log messages with WARNINGShadowNinja
Remove DTIME macro and its uses, too
2015-04-07Fix missing SQLite3 statement pointer initializationShadowNinja
This fixes a segfault when the database is shut down before it finishes connecting and setting up.
2015-04-01Move globals from main.cpp to more sane locationsCraig Robbins
Move debug streams to log.cpp|h Move GUI-related globals to clientlauncher Move g_settings and g_settings_path to settings.cpp|h Move g_menuclouds to clouds.cpp|h Move g_profiler to profiler.cpp|h
2015-03-07For usages of assert() that are meant to persist in Release builds (when ↵Craig Robbins
NDEBUG is defined), replace those usages with persistent alternatives
2015-03-06Clean up database API and save the local map on an intervalShadowNinja
2015-02-17Replace std::list by std::vector into ServerMap::listAllLoadableBlocks ↵Loic Blot
ServerMap::listAllLoadedBlocks and their database backends. This adds a speedup on database migration and /clearobjects command
2015-01-28Fix uninitialized variable m_database_delete in Database_SQLite3Kahrl
This fixes issue #2219
2015-01-15Add ability to delete MapBlocks from mapkwolekr
Also add a Lua API and chatcommand for this
2014-09-21Split settings into seperate source and header filesShadowNinja
This also cleans up settings a bit
2014-08-16Add sqlite3 backend hack for androidsapier
2014-07-12Move MapBlock (de)serializing code out of Database classsfan5
2014-07-07Don't unload blocks if save failedkwolekr
Improve error handling in saveBlock()
2014-07-06Switch android to leveldb as sqlite3 is broken and fails to save any ↵sapier
mapblock there
2014-06-23Remove confusing code block from SQLite3 databaseShadowNinja
2014-06-22Fix sqlite3 map shutdown fails due to missing to finalize list statementsapier
Add error output on fail to shutdown sqlite3 map db Implement shutdown of sqlite3 rollback db
2013-11-24Don't continue trying to deserialize blank block datakwolekr
2013-11-17Do the same for LevelDB interfacekwolekr
2013-11-17Handle blank blocks in databasekwolekr
Fix screwed-up indentation
2013-09-17Add configurable PRAGMA synchronous =proller
2013-09-10Add license headers and remove useless includesKahrl
2013-09-09Use STL containers instead of irr::core::listSfan5
2013-09-09Make it compileSfan5
2013-09-09Add dummy and LevelDB database backendsIlya Zhuravlev