mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Thanks @Robyt3 for noticing
This commit is contained in:
parent
34a5609535
commit
412a9461c0
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue