develooper Front page | perl.cvs.p5ee | Postings from October 2011

[svn:p5ee] r14963 - p5ee/trunk/App-Repository/lib/App/Repository

From:
spadkins
Date:
October 23, 2011 21:12
Subject:
[svn:p5ee] r14963 - p5ee/trunk/App-Repository/lib/App/Repository
Message ID:
20111024041233.D84F2184B30@xx12.develooper.com
Author: spadkins
Date: Sun Oct 23 21:12:33 2011
New Revision: 14963

Modified:
   p5ee/trunk/App-Repository/lib/App/Repository/Oracle.pm

Log:
actually specify what Oracle errors a reconnect is allowed on

Modified: p5ee/trunk/App-Repository/lib/App/Repository/Oracle.pm
==============================================================================
--- p5ee/trunk/App-Repository/lib/App/Repository/Oracle.pm	(original)
+++ p5ee/trunk/App-Repository/lib/App/Repository/Oracle.pm	Sun Oct 23 21:12:33 2011
@@ -754,8 +754,8 @@
 
 sub is_retryable_connection_error {
     my ($self, $e) = @_;
-    #warn "Oracle-specific error messages not defined";
-    return($e =~ /TBD-FOO/);
+    # ORA-03113: end-of-file on communication channel
+    return($e =~ /ORA-03113/);
 }
 
 sub is_retryable_modify_error {



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About