aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/daemon.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-12-07 19:18:34 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-12-07 19:22:22 +0000
commit1c8262c527c0f52cfa53d4181c4c3806af7ae385 (patch)
tree2e75879e691124720b7f9d2b1117f475fa49597f /src/daemon/daemon.cpp
parent0252ffc37b9a87cbd0582ad32ab725c87b943f2c (diff)
downloadmonzero-core-1c8262c527c0f52cfa53d4181c4c3806af7ae385.tar.gz
monzero-core-1c8262c527c0f52cfa53d4181c4c3806af7ae385.tar.xz
monzero-core-1c8262c527c0f52cfa53d4181c4c3806af7ae385.zip
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.
Diffstat (limited to 'src/daemon/daemon.cpp')
0 files changed, 0 insertions, 0 deletions