Update SQLiteCache.cs

This commit is contained in:
ClemensFischer 2025-02-24 22:30:57 +01:00
parent 13f4cfcdfb
commit d0d95b8f90

View file

@ -37,7 +37,7 @@ namespace MapControl.Caching
path = Path.Combine(path, "TileCache.sqlite");
}
connection = new SQLiteConnection("Data Source=" + Path.GetFullPath(path));
connection = new SQLiteConnection("Data Source=" + path);
connection.Open();
using (var command = new SQLiteCommand("pragma journal_mode=wal", connection))