tendermint/db
Emmanuel Odeke 8be8127351
db: fix MemDB.Close
Fixes https://github.com/tendermint/tmlibs/issues/55

MemDB previously mistakenly set the actual DB pointer to nil
although that side effect is not visible to the outside world
since p is an identifier within the scope of just that function
call. However, @melekes and I had a discussion in which we
came to the conclusion that Close for an in-memory DB should
instead be a noop and not cause any data loss. See the
discussion on https://github.com/tendermint/tmlibs/pull/56.
2017-09-26 15:29:51 -06:00
..
LICENSE.md merge go-db 2017-04-18 16:33:35 -04:00
README.md merge go-db 2017-04-18 16:33:35 -04:00
c_level_db.go go-common -> tmlibs 2017-04-18 17:56:05 -04:00
c_level_db_test.go go-common -> tmlibs 2017-04-18 17:56:05 -04:00
db.go go-common -> tmlibs 2017-04-18 17:56:05 -04:00
go_level_db.go go-common -> tmlibs 2017-04-18 17:56:05 -04:00
go_level_db_test.go go-common -> tmlibs 2017-04-18 17:56:05 -04:00
mem_db.go db: fix MemDB.Close 2017-09-26 15:29:51 -06:00
mem_db_test.go db: fix MemDB.Close 2017-09-26 15:29:51 -06:00

README.md

TODO: syndtr/goleveldb should be replaced with actual LevelDB instance