Respect USE_SYSTEM_SQLITE (#11758)

This commit is contained in:
Kevin Zheng
2022-10-07 22:41:16 -07:00
committed by GitHub
parent 4252284a71
commit 76d632a7df

View File

@@ -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)
{