Fix conflict resolution between #6013 and #5948

Thanks @Robyt3 for noticing
This commit is contained in:
Dennis Felsing 2022-12-12 14:13:30 +01:00
parent 34a5609535
commit 412a9461c0

View file

@ -2547,12 +2547,12 @@ int CServer::Run()
if(Config()->m_SvUseSQL)
{
DbPool()->RegisterSqliteDatabase(CDbConnectionPool::WRITE_BACKUP, Config()->m_SvSqliteFile);
DbPool()->RegisterSqliteDatabase(CDbConnectionPool::WRITE_BACKUP, aFullPath);
}
else
{
DbPool()->RegisterSqliteDatabase(CDbConnectionPool::READ, Config()->m_SvSqliteFile);
DbPool()->RegisterSqliteDatabase(CDbConnectionPool::WRITE, Config()->m_SvSqliteFile);
DbPool()->RegisterSqliteDatabase(CDbConnectionPool::READ, aFullPath);
DbPool()->RegisterSqliteDatabase(CDbConnectionPool::WRITE, aFullPath);
}
}