[interchange-cvs] interchange - racke modified lib/Vend/Table/DBI.pm
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Mon Jun 11 04:27:56 EDT 2007
User: racke
Date: 2007-06-11 08:27:55 GMT
Modified: lib/Vend/Table DBI.pm
Log:
get rid of the logfile problem, even if this solution doesn't look that
clean (calling config_error method from other module)
Revision Changes Path
2.77 +3 -3 interchange/lib/Vend/Table/DBI.pm
rev 2.77, prev_rev 2.76
Index: DBI.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Table/DBI.pm,v
retrieving revision 2.76
retrieving revision 2.77
diff -u -r2.76 -r2.77
--- DBI.pm 11 Jun 2007 08:11:43 -0000 2.76
+++ DBI.pm 11 Jun 2007 08:27:55 -0000 2.77
@@ -1,6 +1,6 @@
# Vend::Table::DBI - Access a table stored in an DBI/DBD database
#
-# $Id: DBI.pm,v 2.76 2007/06/11 08:11:43 racke Exp $
+# $Id: DBI.pm,v 2.77 2007/06/11 08:27:55 racke Exp $
#
# Copyright (C) 2002-2007 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -21,7 +21,7 @@
# MA 02110-1301 USA.
package Vend::Table::DBI;
-$VERSION = substr(q$Revision: 2.76 $, 10);
+$VERSION = substr(q$Revision: 2.77 $, 10);
use strict;
no warnings qw(uninitialized numeric);
@@ -2142,7 +2142,7 @@
my $handle = DBI->connect($dsn, $user, $pass);
unless ($handle) {
- ::logError(::errmsg("DatabaseAuto DSN '%s' does not connect: %s", $dsn, $DBI::errstr));
+ ::Vend::Config::config_error(::errmsg("DatabaseAuto DSN '%s' does not connect: %s", $dsn, $DBI::errstr));
return;
}
More information about the interchange-cvs
mailing list