diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-12-30 09:36:54 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-12-30 09:36:54 +0200 |
commit | 9b3300fe9bdbfff28104f6d9a35a27827431dab2 (patch) | |
tree | 3eb3ddd3e6172b49bca6737bda3630537c418625 /src/blockchain_db/berkeleydb/db_bdb.cpp | |
parent | Merge pull request #568 (diff) | |
parent | BlockchainDB: skip fixup check if read-only database (diff) | |
download | monero-9b3300fe9bdbfff28104f6d9a35a27827431dab2.tar.xz |
Merge pull request #569
ee9d71e BlockchainDB: skip fixup check if read-only database (warptangent)
Diffstat (limited to 'src/blockchain_db/berkeleydb/db_bdb.cpp')
-rw-r--r-- | src/blockchain_db/berkeleydb/db_bdb.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/blockchain_db/berkeleydb/db_bdb.cpp b/src/blockchain_db/berkeleydb/db_bdb.cpp index 4799afebc..e37058a99 100644 --- a/src/blockchain_db/berkeleydb/db_bdb.cpp +++ b/src/blockchain_db/berkeleydb/db_bdb.cpp @@ -2200,8 +2200,14 @@ void BlockchainBDB::checkpoint_worker() const LOG_PRINT_L0("Leaving BDB checkpoint thread."); } +bool BlockchainBDB::is_read_only() const +{ + return false; +} + void BlockchainBDB::fixup() { + LOG_PRINT_L3("BlockchainBDB::" << __func__); // Always call parent as well BlockchainDB::fixup(); } |