Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement DatabaseException for databases | nerzhul | 2016-05-17 | 1 | -1/+1 |
| | |||||
* | DB::loadBlock copy removal & DB backend cleanup | Loic Blot | 2016-05-17 | 1 | -7/+4 |
| | | | | | * 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 | ||||
* | Include custom error message in all SQLite3 exceptions. | Rogier | 2015-12-30 | 1 | -38/+27 |
| | | | | And replace manual tests for error with SQLOK() where possible. | ||||
* | Handle SQLITE_BUSY errors gracefully | Rogier | 2015-12-30 | 1 | -0/+60 |
| | | | | | | This allows other applications (e.g. minetestmapper) to interrogate the database while minetest is running, without causing an almost certain minetest crash. | ||||
* | Use warningstream for log messages with WARNING | ShadowNinja | 2015-10-14 | 1 | -1/+1 |
| | | | | Remove DTIME macro and its uses, too | ||||
* | Fix missing SQLite3 statement pointer initialization | ShadowNinja | 2015-04-07 | 1 | -1/+3 |
| | | | | | This fixes a segfault when the database is shut down before it finishes connecting and setting up. | ||||
* | Move globals from main.cpp to more sane locations | Craig Robbins | 2015-04-01 | 1 | -1/+0 |
| | | | | | | | | | | | | 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 | ||||
* | For usages of assert() that are meant to persist in Release builds (when ↵ | Craig Robbins | 2015-03-07 | 1 | -2/+1 |
| | | | | NDEBUG is defined), replace those usages with persistent alternatives | ||||
* | Clean up database API and save the local map on an interval | ShadowNinja | 2015-03-06 | 1 | -201/+136 |
| | |||||
* | Replace std::list by std::vector into ServerMap::listAllLoadableBlocks ↵ | Loic Blot | 2015-02-17 | 1 | -3/+2 |
| | | | | | | ServerMap::listAllLoadedBlocks and their database backends. This adds a speedup on database migration and /clearobjects command | ||||
* | Fix uninitialized variable m_database_delete in Database_SQLite3 | Kahrl | 2015-01-28 | 1 | -0/+1 |
| | | | | This fixes issue #2219 | ||||
* | Add ability to delete MapBlocks from map | kwolekr | 2015-01-15 | 1 | -8/+33 |
| | | | | Also add a Lua API and chatcommand for this | ||||
* | Split settings into seperate source and header files | ShadowNinja | 2014-09-21 | 1 | -0/+1 |
| | | | | This also cleans up settings a bit | ||||
* | Add sqlite3 backend hack for android | sapier | 2014-08-16 | 1 | -3/+41 |
| | |||||
* | Move MapBlock (de)serializing code out of Database class | sfan5 | 2014-07-12 | 1 | -145/+23 |
| | |||||
* | Don't unload blocks if save failed | kwolekr | 2014-07-07 | 1 | -23/+32 |
| | | | | Improve error handling in saveBlock() | ||||
* | Switch android to leveldb as sqlite3 is broken and fails to save any ↵ | sapier | 2014-07-06 | 1 | -3/+3 |
| | | | | mapblock there | ||||
* | Remove confusing code block from SQLite3 database | ShadowNinja | 2014-06-23 | 1 | -42/+38 |
| | |||||
* | Fix sqlite3 map shutdown fails due to missing to finalize list statement | sapier | 2014-06-22 | 1 | -28/+43 |
| | | | | | Add error output on fail to shutdown sqlite3 map db Implement shutdown of sqlite3 rollback db | ||||
* | Don't continue trying to deserialize blank block data | kwolekr | 2013-11-24 | 1 | -0/+1 |
| | |||||
* | Do the same for LevelDB interface | kwolekr | 2013-11-17 | 1 | -2/+2 |
| | |||||
* | Handle blank blocks in database | kwolekr | 2013-11-17 | 1 | -85/+96 |
| | | | | Fix screwed-up indentation | ||||
* | Add configurable PRAGMA synchronous = | proller | 2013-09-17 | 1 | -1/+10 |
| | |||||
* | Add license headers and remove useless includes | Kahrl | 2013-09-10 | 1 | -12/+23 |
| | |||||
* | Use STL containers instead of irr::core::list | Sfan5 | 2013-09-09 | 1 | -1/+1 |
| | |||||
* | Make it compile | Sfan5 | 2013-09-09 | 1 | -1/+1 |
| | |||||
* | Add dummy and LevelDB database backends | Ilya Zhuravlev | 2013-09-09 | 1 | -0/+319 |