BlockchainDB: skip fixup check if read-only database

This commit is contained in:
warptangent
2015-12-26 14:27:35 -08:00
parent 95ceb715dc
commit ee9d71e9f9
6 changed files with 32 additions and 0 deletions

View File

@@ -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();
}