mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 22:15:52 +00:00
Test was always true.
This commit is contained in:
@@ -26,9 +26,9 @@ Application* theApp = NULL;
|
|||||||
|
|
||||||
DatabaseCon::DatabaseCon(const std::string& strName, const char *initStrings[], int initCount)
|
DatabaseCon::DatabaseCon(const std::string& strName, const char *initStrings[], int initCount)
|
||||||
{
|
{
|
||||||
boost::filesystem::path pPath = theConfig.RUN_STANDALONE && !Config::LOAD
|
boost::filesystem::path pPath = (theConfig.RUN_STANDALONE && (!theConfig.START_UP != Config::LOAD))
|
||||||
? "" // Use temporary files.
|
? "" // Use temporary files.
|
||||||
: theConfig.DATA_DIR / strName; // Use regular db files.
|
: (theConfig.DATA_DIR / strName); // Use regular db files.
|
||||||
|
|
||||||
mDatabase = new SqliteDatabase(pPath.string().c_str());
|
mDatabase = new SqliteDatabase(pPath.string().c_str());
|
||||||
mDatabase->connect();
|
mDatabase->connect();
|
||||||
|
|||||||
Reference in New Issue
Block a user