From bd6282b49bc96beea3b2c07299807d9f07258832 Mon Sep 17 00:00:00 2001 From: arjen Date: Mon, 20 Jan 2003 07:31:42 +0000 Subject: [PATCH] Removed some debug output. --- src/lib/database.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/lib/database.cpp b/src/lib/database.cpp index 9a20d6d..ce66552 100644 --- a/src/lib/database.cpp +++ b/src/lib/database.cpp @@ -8,7 +8,7 @@ *********************** ** FILE NAME : database.cpp ** SYSTEM NAME : Gnucomo - Gnu Computer Monitoring -** VERSION NUMBER : $Revision: 1.4 $ +** VERSION NUMBER : $Revision: 1.5 $ ** ** DESCRIPTION : Implementation of the gnucomo database classes ** @@ -26,7 +26,10 @@ /***************************** $Log: database.cpp,v $ - Revision 1.4 2003-01-18 08:52:32 arjen + Revision 1.5 2003-01-20 07:31:42 arjen + Removed some debug output. + + Revision 1.4 2003/01/18 08:52:32 arjen New C++ function: gnucomo_database::new_notification() Revision 1.3 2002/11/09 08:04:27 arjen @@ -40,7 +43,7 @@ *****************************/ -static const char *RCSID = "$Id: database.cpp,v 1.4 2003-01-18 08:52:32 arjen Exp $"; +static const char *RCSID = "$Id: database.cpp,v 1.5 2003-01-20 07:31:42 arjen Exp $"; #include @@ -128,7 +131,7 @@ void gnucomo_database::new_notification(String objectid, String issue, String re String issueid(""); - std::cout << "Creating notification for " << issue << "\n"; + std::cout << "Creating notification for " << issue << ": " << remark << "\n"; qry = "select type_of_issueid, suggested_priority from type_of_issue where name='"; qry += issue + "'"; @@ -141,8 +144,6 @@ void gnucomo_database::new_notification(String objectid, String issue, String re insertion += issueid + "', '" + now.format("%Y-%m-%d %T") + "', 'new', '"; insertion += Field(0, "suggested_priority") + "')"; - std::cout << insertion << "\n"; - qry = "select notificationid from notification where objectid='"; qry += objectid + "' and type_of_issueid = '"; qry += issueid + "' order by notificationid"; @@ -159,7 +160,6 @@ void gnucomo_database::new_notification(String objectid, String issue, String re insertion += notif_id + "', '" + now.format("%Y-%m-%d %T") + "', 'new', '"; insertion += remark + "')"; - std::cout << insertion << "\n"; Query(insertion); } else -- 2.11.0