diff --git a/Database/Database-BackendServiceOrders.cs b/Database/Database-BackendServiceOrders.cs index 09158929..4f1aabae 100644 --- a/Database/Database-BackendServiceOrders.cs +++ b/Database/Database-BackendServiceOrders.cs @@ -78,12 +78,7 @@ namespace Swarmops.Database using (DbConnection connection = GetMySqlDbConnection()) { - Console.WriteLine("--------------------------------------------------------"); - Console.WriteLine("DEBUG: " + connection.ConnectionString); // TODO/HACK: Temporary debug code - Console.WriteLine("--------------------------------------------------------"); - Console.WriteLine("Before Open"); connection.Open(); - Console.WriteLine("Between Open and GetDbCommand"); string sql = "SELECT " + backendServiceOrderFieldSequence + ConstructWhereClause("BackendServiceOrders", conditions) + @@ -93,17 +88,14 @@ namespace Swarmops.Database // this ORDERBY + LIMIT gets the oldest first in a FIFO queue DbCommand command = GetDbCommand(sql, connection); - Console.WriteLine("Between GetDbCommand and ExecuteReader"); using (DbDataReader reader = command.ExecuteReader()) { - Console.WriteLine("Between ExecuteReader and reader.Read"); while (reader.Read()) { result.Add(ReadBackendServiceOrderFromDataReader(reader)); } - Console.WriteLine("Returning {0} records", result.Count); return result.ToArray(); } } diff --git a/Database/Database-ConnectionsCommands.cs b/Database/Database-ConnectionsCommands.cs index 8fac28ac..a85a0ab7 100644 --- a/Database/Database-ConnectionsCommands.cs +++ b/Database/Database-ConnectionsCommands.cs @@ -15,7 +15,6 @@ namespace Swarmops.Database { DbConnection connection = this.ProviderFactory.CreateConnection(); connection.ConnectionString = this.ConnectionString; - Console.WriteLine("DEBUG: " + this.ConnectionString); // debug return connection; }