[svn:dbd-oracle] r14237 - dbd-oracle/trunk

[email protected]
Newsgroups perl.dbd.oracle.changes
Message-ID <[email protected]>
Author: byterock
Date: Thu Jul  8 12:41:24 2010
New Revision: 14237

Modified:
   dbd-oracle/trunk/Changes
   dbd-oracle/trunk/Makefile.PL
   dbd-oracle/trunk/Oracle.pm

Log:
Fix for odd error with Ping from Tom Payerle

Modified: dbd-oracle/trunk/Changes
==============================================================================
--- dbd-oracle/trunk/Changes	(original)
+++ dbd-oracle/trunk/Changes	Thu Jul  8 12:41:24 2010
@@ -1,5 +1,5 @@
 =head1 Changes in DBD-Oracle 1.25(svn rev )
-
+  Fix for odd error with Ping from Tom Payerle
   Fix for rt.cpan.org Ticket #=57256 :  Double free problem in dbdimp.c by John Scoles
   Fix for invalid format in trace of OCILobLocatorIsInit_log_stat reported by Martin Evans Fixed by John Scoles
   Fix for very odd UNKNOWN OCI STATUS 1041 (OCILobFreeTemporary) on disconnect reported by John Parker and Dob Mcgowan fixe by John Scoles 

Modified: dbd-oracle/trunk/Makefile.PL
==============================================================================
--- dbd-oracle/trunk/Makefile.PL	(original)
+++ dbd-oracle/trunk/Makefile.PL	Thu Jul  8 12:41:24 2010
@@ -57,6 +57,9 @@
 	PREOP		=> '$(MAKE) -f Makefile.old distdir',
 	COMPRESS	=> 'gzip -v9', SUFFIX => 'gz',
     },
+    META_MERGE => {
+       configure_requires => { DBI => '1.51' }
+    },
 );
 if ($ExtUtils::MakeMaker::VERSION >= 5.43) {
     $opts{AUTHOR} = 'Tim Bunce ([email protected])';

Modified: dbd-oracle/trunk/Oracle.pm
==============================================================================
--- dbd-oracle/trunk/Oracle.pm	(original)
+++ dbd-oracle/trunk/Oracle.pm	Thu Jul  8 12:41:24 2010
@@ -295,6 +295,7 @@
 
     sub ping { 
 	my($dbh) = @_;
+	local $@;
 	my $ok = 0;
 	eval {
 	    local $SIG{__DIE__};
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.