danicoin/src/blockchain_db
moneromooo-monero 1c8262c527
db_bdb: move log_set_config call before open
This is a precaution for older Berkeley DB versions.

- smooth reports an issue running with 4.7:
  DB_ENV->log_set_config: DB_LOG_IN_MEMORY: method not permitted
  after handle's open method
- this works just fine with 5.3
- we do not use DB_LOG_IN_MEMORY, but we use DB_LOG_AUTO_REMOVE
- libdb docs say some flags must be set before open, and some
  may be set at any time, but never say some must be set after
  open
- moving the call to log_set_config before open works with 5.3

Therefore, it seems best to move the call before open.
2015-12-07 19:22:22 +00:00
..
berkeleydb db_bdb: move log_set_config call before open 2015-12-07 19:22:22 +00:00
lmdb Remove some old/obsolete/unused code 2015-10-27 10:01:20 +00:00
blockchain_db.cpp blockchain_db: match tx addition semantics to original code 2015-08-11 11:11:17 +01:00
blockchain_db.h blockchain_db: make the indexing base a BlockchainDB virtual function 2015-12-05 18:41:29 +00:00
CMakeLists.txt ** CHANGES ARE EXPERIMENTAL (FOR TESTING ONLY) 2015-07-15 23:20:16 -07:00
db_types.h Steps toward multiple dbs available -- working 2015-03-25 12:09:44 -04:00