mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-26 14:00:29 +01:00
walletdb: Add BerkeleyDatabase::Open dummy function
Adds an Open function for the class abstraction that does nothing for now.
This commit is contained in:
@@ -413,6 +413,11 @@ BerkeleyBatch::BerkeleyBatch(BerkeleyDatabase& database, const char* pszMode, bo
|
||||
}
|
||||
}
|
||||
|
||||
void BerkeleyDatabase::Open(const char* mode)
|
||||
{
|
||||
throw std::logic_error("BerkeleyDatabase does not implement Open. This function should not be called.");
|
||||
}
|
||||
|
||||
void BerkeleyBatch::Flush()
|
||||
{
|
||||
if (activeTxn)
|
||||
|
||||
Reference in New Issue
Block a user