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 {