diff options
author | Miguel Herranz <miguel@ipglider.org> | 2017-01-10 11:46:12 +0100 |
---|---|---|
committer | Miguel Herranz <miguel@ipglider.org> | 2017-01-10 11:46:12 +0100 |
commit | 1229c685875376aedae7d0aba900fba6fd9d5cf6 (patch) | |
tree | 62572aae9d1c14c1329ce37f1109723d8d150870 /src | |
parent | Show available types for db-type command (diff) | |
download | monero-1229c685875376aedae7d0aba900fba6fd9d5cf6.tar.xz |
Remove berkeley from db_type initialization
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptonote_core/cryptonote_core.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index 4010d3d44..a81f2d7eb 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -301,18 +301,6 @@ namespace cryptonote DBS_FAST_MODE = MDB_NORDAHEAD | MDB_NOSYNC; DBS_FASTEST_MODE = MDB_NORDAHEAD | MDB_NOSYNC | MDB_WRITEMAP | MDB_MAPASYNC; } - else if (db_type == "berkeley") - { -#if defined(BERKELEY_DB) - db = new BlockchainBDB(); - DBS_FAST_MODE = DB_TXN_WRITE_NOSYNC; - DBS_FASTEST_MODE = DB_TXN_NOSYNC; - DBS_SAFE_MODE = DB_TXN_SYNC; -#else - LOG_ERROR("BerkeleyDB support disabled."); - return false; -#endif - } else { LOG_ERROR("Attempted to use non-existent database type"); |