mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Update SQLiteCache.cs
This commit is contained in:
parent
13f4cfcdfb
commit
d0d95b8f90
|
|
@ -37,7 +37,7 @@ namespace MapControl.Caching
|
||||||
path = Path.Combine(path, "TileCache.sqlite");
|
path = Path.Combine(path, "TileCache.sqlite");
|
||||||
}
|
}
|
||||||
|
|
||||||
connection = new SQLiteConnection("Data Source=" + Path.GetFullPath(path));
|
connection = new SQLiteConnection("Data Source=" + path);
|
||||||
connection.Open();
|
connection.Open();
|
||||||
|
|
||||||
using (var command = new SQLiteCommand("pragma journal_mode=wal", connection))
|
using (var command = new SQLiteCommand("pragma journal_mode=wal", connection))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue