aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db/berkeleydb/db_bdb.cpp
diff options
context:
space:
mode:
authorwarptangent <warptangent@tutanota.com>2015-12-26 14:27:35 -0800
committerwarptangent <warptangent@tutanota.com>2015-12-26 14:30:20 -0800
commitee9d71e9f94ba8571c44c889a70bda77c8961959 (patch)
treec5636f8390be8d8a51d81e7c05dbe8f82ba1440b /src/blockchain_db/berkeleydb/db_bdb.cpp
parentMerge pull request #565 (diff)
downloadmonero-ee9d71e9f94ba8571c44c889a70bda77c8961959.tar.xz
BlockchainDB: skip fixup check if read-only database
Diffstat (limited to 'src/blockchain_db/berkeleydb/db_bdb.cpp')
-rw-r--r--src/blockchain_db/berkeleydb/db_bdb.cpp6
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();
}