mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Use soci in more places:
* Validator, peerfinder, SHAMapStore, RpcDB, TxnDB, LedgerDB, WalletDB use soci backend.
This commit is contained in:
@@ -163,11 +163,11 @@ static
|
||||
void
|
||||
setupConfigForUnitTests (Config& config)
|
||||
{
|
||||
config->overwrite (ConfigSection::nodeDatabase (), "type", "memory");
|
||||
config->overwrite (ConfigSection::nodeDatabase (), "path", "main");
|
||||
config.overwrite (ConfigSection::nodeDatabase (), "type", "memory");
|
||||
config.overwrite (ConfigSection::nodeDatabase (), "path", "main");
|
||||
|
||||
config->deprecatedClearSection (ConfigSection::tempNodeDatabase ());
|
||||
config->deprecatedClearSection (ConfigSection::importNodeDatabase ());
|
||||
config.deprecatedClearSection (ConfigSection::tempNodeDatabase ());
|
||||
config.deprecatedClearSection (ConfigSection::importNodeDatabase ());
|
||||
config.legacy("database_path", "DummyForUnitTests");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user