opps didn't see the patch attachment.as it was hidden until I looked for it (stupid google mail)
That should work as it is only on the perl side. Thanks Martin On Fri, Jun 18, 2010 at 8:53 AM, Martin Evans <martin.ev...@easysoft.com>wrote: > John Scoles wrote: > > The way Ping works is different is depending on the version of > DBD::Oracle > > you are using. Which version of DBD::Oracle are you using?? > > > > cheers > > John Scoles > > The patch looked to be against the subversion trunk John. > > Martin > > > On Thu, Jun 17, 2010 at 2:34 PM, Thomas M. Payerle <paye...@umd.edu> > wrote: > > > >> Hi, > >> > >> My colleagues and I encountered a problem in some code which seems > >> to be due to some impolite behavior on the part of the ping routine > >> in DBD::Oracle. > >> > >> Basically, we had an eval block with a locally declared (my) > CGI::Session > >> object using Oracle DB for storing session info. When we raise an > >> exception, > >> the CGI::Session is destroyed, which somewhere results in DBD::Oracle > ping > >> being called. ping() does not localize $@ for its eval block, thereby > >> clobbering the exception text in $...@. > >> > >> I believe adding a "local $@" in the ping routine resolves this issue > >> without any ill effect on the routine, as shown in attached patch. > >> Not really a bug, but I believe this is better behavior. > >> > >> Tom Payerle > >> OIT-TSS-DCS paye...@umd.edu > >> University of Maryland (301) 405-6135 > >> College Park, MD 20742-4111 > >> > >> PS: I just wanted to offer my gratitude to the DBD::Oracle developers > for > >> their fine work on this module. > > > > -- > > Catch Alex & Sheeri at ODTUG/Kaleidoscope - June 27 - July 1. > > Hear Sheeri speak or email eve...@pythian.com to meet with Pythian. > > > -- Catch Alex & Sheeri at ODTUG/Kaleidoscope - June 27 - July 1. Hear Sheeri speak or email eve...@pythian.com to meet with Pythian.