mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
Respect USE_SYSTEM_SQLITE (#11758)
This commit is contained in:
parent
4252284a71
commit
76d632a7df
1 changed files with 3 additions and 0 deletions
|
|
@ -661,6 +661,9 @@ namespace Content.Server.Database
|
|||
var configPreferencesDbPath = _cfg.GetCVar(CCVars.DatabaseSqliteDbPath);
|
||||
var inMemory = _res.UserData.RootDir == null;
|
||||
|
||||
#if USE_SYSTEM_SQLITE
|
||||
SQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider_sqlite3());
|
||||
#endif
|
||||
SqliteConnection connection;
|
||||
if (!inMemory)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue