diff options
author | warptangent <warptangent@tutanota.com> | 2016-02-14 11:35:30 -0800 |
---|---|---|
committer | warptangent <warptangent@tutanota.com> | 2016-02-14 16:02:37 -0800 |
commit | 19c1aaa9f69ad4efb58c06e1f383200089296968 (patch) | |
tree | 567b7c0f132691d64d496ac36991be1ba78508f5 /src/blockchain_utilities/fake_core.h | |
parent | blockchain_import: Make LMDB-specific names general (diff) | |
download | monero-19c1aaa9f69ad4efb58c06e1f383200089296968.tar.xz |
blockchain_import: Add database type argument
Default to LMDB.
Diffstat (limited to 'src/blockchain_utilities/fake_core.h')
-rw-r--r-- | src/blockchain_utilities/fake_core.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blockchain_utilities/fake_core.h b/src/blockchain_utilities/fake_core.h index 8ca332a45..cf2585f29 100644 --- a/src/blockchain_utilities/fake_core.h +++ b/src/blockchain_utilities/fake_core.h @@ -57,10 +57,10 @@ struct fake_core_db // for multi_db_runtime: #if !defined(BLOCKCHAIN_DB) - fake_core_db(const boost::filesystem::path &path, const bool use_testnet=false, const bool do_batch=true, const int db_flags=0) : m_pool(&m_storage), m_storage(m_pool) + fake_core_db(const boost::filesystem::path &path, const bool use_testnet=false, const bool do_batch=true, const std::string& db_type="lmdb", const int db_flags=0) : m_pool(&m_storage), m_storage(m_pool) // for multi_db_compile: #else - fake_core_db(const boost::filesystem::path &path, const bool use_testnet=false, const bool do_batch=true, const int db_flags=0) : m_pool(m_storage), m_storage(m_pool) + fake_core_db(const boost::filesystem::path &path, const bool use_testnet=false, const bool do_batch=true, const std::string& db_type="lmdb", const int db_flags=0) : m_pool(m_storage), m_storage(m_pool) #endif { m_pool.init(path.string()); |