Don't unload blocks if save failed
authorkwolekr <kwolekr@minetest.net>
Mon, 7 Jul 2014 05:20:25 +0000 (01:20 -0400)
committerkwolekr <kwolekr@minetest.net>
Mon, 7 Jul 2014 05:20:25 +0000 (01:20 -0400)
commit8b3ed78e53d8ad19d8dee3968430be258559214c
tree497c583608f3d7e596e899934c9945e4a324db23
parente14c4cdd4c3c9b554dc9cb91f8f29078ad337ded
Don't unload blocks if save failed

Improve error handling in saveBlock()
src/database-dummy.cpp
src/database-dummy.h
src/database-leveldb.cpp
src/database-leveldb.h
src/database-redis.cpp
src/database-redis.h
src/database-sqlite3.cpp
src/database-sqlite3.h
src/database.h
src/map.cpp
src/map.h