Skip to content

Commit

Permalink
Revert "Update Microsoft.Data.Sqlite to 6.0.5" (#392)
Browse files Browse the repository at this point in the history
This reverts commit 93a3d8b.
This fixes startup on Windows with SQLite DB
  • Loading branch information
NetDwarf authored Jun 21, 2022
1 parent cc8c773 commit 32001b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions DOLDatabase/DOLDatabase.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="log4net" Version="2.0.14" PrivateAssets="all" />
<PackageReference Include="Microsoft.Data.Sqlite" Version="6.0.5" />
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="2.0.7" />
<PackageReference Include="Microsoft.Data.Sqlite" Version="5.0.17" />
<PackageReference Include="MySqlConnector" Version="2.1.10" PrivateAssets="all" />
</ItemGroup>
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
Expand Down
2 changes: 1 addition & 1 deletion DOLDatabase/Handlers/SQLiteObjectDatabase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public SQLiteObjectDatabase(string ConnectionString)
Config.AddDefaultOption("Synchronous", "Off");
Config.AddDefaultOption("Foreign Keys", "True");
Config.AddDefaultOption("Default Timeout", "60");
Config.SuppressFromConnectionString("Version", "Cache Size", "Journal Mode", "Synchronous", "Default Timeout");
Config.SuppressFromConnectionString("Version", "Pooling", "Cache Size", "Journal Mode", "Synchronous", "Default Timeout");
this.ConnectionString = Config.ConnectionString;
}

Expand Down
2 changes: 1 addition & 1 deletion NetCore/DOLDatabase/DOLDatabase.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="log4net" Version="2.0.14" />
<PackageReference Include="Microsoft.Data.Sqlite" Version="6.0.5" />
<PackageReference Include="Microsoft.Data.Sqlite" Version="5.0.17" />
<PackageReference Include="MySqlConnector" Version="2.1.10" />
</ItemGroup>
<ItemGroup>
Expand Down

0 comments on commit 32001b1

Please sign in to comment.