From: arjen Date: Thu, 31 Jul 2003 15:44:02 +0000 (+0000) Subject: Removed debug output. X-Git-Tag: V0_0_7~16 X-Git-Url: http://www.andromeda.nl/gitweb/?p=gnucomo.git;a=commitdiff_plain;h=8ab2114789f2ceaeae52438a9532703a610e04a8 Removed debug output. --- diff --git a/src/lib/database.cpp b/src/lib/database.cpp index 22f2883..79ceee2 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.7 $ +** VERSION NUMBER : $Revision: 1.8 $ ** ** DESCRIPTION : Implementation of the gnucomo database classes ** @@ -20,13 +20,16 @@ ******************************** ** ORIGINAL AUTHOR : Arjen Baart - arjen@andromeda.nl ** CREATION DATE : Sep 10, 2002 -** LAST UPDATE : Jan 31, 2003 +** LAST UPDATE : Jul 24, 2003 ** MODIFICATIONS : **************************************************************************/ /***************************** $Log: database.cpp,v $ - Revision 1.7 2003-02-19 12:07:55 arjen + Revision 1.8 2003-07-31 15:44:02 arjen + Removed debug output. + + Revision 1.7 2003/02/19 12:07:55 arjen Use the SQL function currval() to obtain the identification number of the most recently created notification. @@ -51,14 +54,12 @@ *****************************/ -static const char *RCSID = "$Id: database.cpp,v 1.7 2003-02-19 12:07:55 arjen Exp $"; +static const char *RCSID = "$Id: database.cpp,v 1.8 2003-07-31 15:44:02 arjen Exp $"; #include #include "database.h" -extern bool verbose; /* Defined in the main application */ - /*========================================================================= ** NAME : gnucomo_database ** SYNOPSIS : gnucomo_database(gnucomo_config &c); @@ -72,7 +73,7 @@ extern bool verbose; /* Defined in the main application */ ** VARS CHANGED : ** FUNCTIONS USED : ** SEE ALSO : -** LAST MODIFIED : Sep 26, 2002 +** LAST MODIFIED : Jul 24, 2003 **========================================================================= */ @@ -80,11 +81,6 @@ gnucomo_database::gnucomo_database(gnucomo_config *c) { cfg = c; - if (verbose) - { - std::cout << "Database connection string = " << cfg->Database() << "\n"; - } - db = new PgDatabase(cfg->Database()); if (db->ConnectionBad())