Fixed bug on database
This commit is contained in:
parent
668f1fe7d4
commit
0babdf71a9
|
@ -25,8 +25,6 @@ public static partial class Db
|
|||
|
||||
Console.WriteLine("latestdb is "+latestDb);
|
||||
|
||||
|
||||
|
||||
//This is the file connection from the DbBackups folder
|
||||
var fileConnection = new SQLiteConnection("DbBackups/" + latestDb);
|
||||
|
||||
|
@ -41,7 +39,8 @@ public static partial class Db
|
|||
fileConnection.CreateTable<Error>();
|
||||
fileConnection.CreateTable<Warning>();
|
||||
|
||||
return CopyDbToMemory(fileConnection);
|
||||
return fileConnection;
|
||||
//return CopyDbToMemory(fileConnection);
|
||||
}
|
||||
|
||||
private static SQLiteConnection CopyDbToMemory(SQLiteConnection fileConnection)
|
||||
|
|
Loading…
Reference in New Issue