Added some performance counters.

This commit is contained in:
2017-05-19 03:24:34 +01:00
parent 32b3256af9
commit faef050858
7 changed files with 246 additions and 6 deletions

View File

@@ -96,7 +96,9 @@ namespace osrepodbmgr.Core
SQLiteCommand dbCmd = dbCon.CreateCommand();
string sql;
#if DEBUG
Console.WriteLine("Creating osrepodbmgr table");
#endif
sql = "CREATE TABLE osrepodbmgr ( version INTEGER, name TEXT )";
dbCmd.CommandText = sql;
@@ -106,11 +108,15 @@ namespace osrepodbmgr.Core
dbCmd.CommandText = sql;
dbCmd.ExecuteNonQuery();
#if DEBUG
Console.WriteLine("Creating oses table");
#endif
dbCmd.CommandText = Schema.OSesTableSql;
dbCmd.ExecuteNonQuery();
#if DEBUG
Console.WriteLine("Creating files table");
#endif
dbCmd.CommandText = Schema.FilesTableSql;
dbCmd.ExecuteNonQuery();