diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-12-07 19:18:34 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-12-07 19:22:22 +0000 |
| commit | 1c8262c527c0f52cfa53d4181c4c3806af7ae385 (patch) | |
| tree | 2e75879e691124720b7f9d2b1117f475fa49597f /src/daemon/main.cpp | |
| parent | 0252ffc37b9a87cbd0582ad32ab725c87b943f2c (diff) | |
| download | monzero-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/main.cpp')
0 files changed, 0 insertions, 0 deletions
