[interchange-cvs] interchange - racke modified lib/Vend/Table/DBI.pm
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Fri Nov 24 04:24:57 EST 2006
User: racke
Date: 2006-11-24 09:24:57 GMT
Modified: lib/Vend/Table DBI.pm
Log:
add DSN to error message
Revision Changes Path
2.73 +3 -3 interchange/lib/Vend/Table/DBI.pm
rev 2.73, prev_rev 2.72
Index: DBI.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Table/DBI.pm,v
retrieving revision 2.72
retrieving revision 2.73
diff -u -r2.72 -r2.73
--- DBI.pm 16 Aug 2006 13:26:50 -0000 2.72
+++ DBI.pm 24 Nov 2006 09:24:57 -0000 2.73
@@ -1,6 +1,6 @@
# Vend::Table::DBI - Access a table stored in an DBI/DBD database
#
-# $Id: DBI.pm,v 2.72 2006/08/16 13:26:50 mheins Exp $
+# $Id: DBI.pm,v 2.73 2006/11/24 09:24:57 racke Exp $
#
# Copyright (C) 2002-2006 Interchange Development Group
# Copyright (C) 1996-2002 Red Hat, Inc.
@@ -21,7 +21,7 @@
# MA 02111-1307 USA.
package Vend::Table::DBI;
-$VERSION = substr(q$Revision: 2.72 $, 10);
+$VERSION = substr(q$Revision: 2.73 $, 10);
use strict;
no warnings qw(uninitialized numeric);
@@ -328,7 +328,7 @@
|| $DBI::errstr
|| "unknown error. Driver '$dname' installed?";
}
- die ::errmsg("connect failed (create) -- %s\n",$msg);
+ die ::errmsg("connect to %s failed (create) -- %s\n", $call[0], $msg);
}
# Allow multiple tables in different DBs to have same local name
More information about the interchange-cvs
mailing list