Hi!

In the code for DBD::Oracle::db::ping method there are lines 

    local $SIG{__DIE__};
    local $SIG{__WARN__};

As I understand these lines don't do anything though I guess they are supposed
to suppress warning messages and possibly 'die' messages. Currently everytime
when ping fails and we have PrintError => 1 then the message goes into Apache error
log. What is worse if $dbh was disconnected then ping dies and kills the whole
process. As temporary fix we can user $dbh->{RaiseError} = 0, but then we'd
have to rewrite the code that was placed into eval blocks.

Is this a feature or something that should be fixed? Was it supposed to be 

   local $SIG{__WARN__} = sub {};

Andrei

Reply via email to