Set up DB by default

This commit is contained in:
def 2018-04-24 23:07:51 +02:00
parent 63b4beb86f
commit 3f7b18322c

View file

@ -2504,7 +2504,7 @@ void CServer::ConAddSqlServer(IConsole::IResult *pResult, void *pUserData)
return;
}
bool SetUpDb = pResult->NumArguments() == 8 ? pResult->GetInteger(7) : false;
bool SetUpDb = pResult->NumArguments() == 8 ? pResult->GetInteger(7) : true;
CSqlServer** apSqlServers = ReadOnly ? pSelf->m_apSqlReadServers : pSelf->m_apSqlWriteServers;