From 9a34ace37db64262c02130bc32ddd393d5e20268 Mon Sep 17 00:00:00 2001 From: Carl Johnsen Date: Fri, 23 May 2025 15:49:10 +0200 Subject: [PATCH] Microsoft.Data.Sqlite doesn't have OpenAsync(), only Open() --- Duplicati/Library/SQLiteHelper/SQLiteLoader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Duplicati/Library/SQLiteHelper/SQLiteLoader.cs b/Duplicati/Library/SQLiteHelper/SQLiteLoader.cs index d3801170a..afa2df576 100644 --- a/Duplicati/Library/SQLiteHelper/SQLiteLoader.cs +++ b/Duplicati/Library/SQLiteHelper/SQLiteLoader.cs @@ -276,7 +276,7 @@ namespace Duplicati.Library.SQLiteHelper private static async Task OpenSQLiteFileAsync(Microsoft.Data.Sqlite.SqliteConnection con, string path) { con.ConnectionString = "Data Source=" + path; - await con.OpenAsync(); + con.Open(); // TODO legacy configuration? //if (con is Microsoft.Data.Sqlite.SqliteConnection sqlitecon && !OperatingSystem.IsMacOS()) //{