Re: DBI Proxy Ping



Thanks George.

Can you resend that using 'diff -u' (or 'diff -C') run from the root od
the source directory, i.e., diff -u ./lib/DBD/Proxy.pm.orig ./lib/DBD/Proxy.pm.new

That way the patch is 'safe' (due to the context) and can be applied
more easily from my mail reader.

Thanks!

Tim.

On Mon, Jun 20, 2005 at 11:14:58AM -0700, Campbell, George wrote:
> I'm not sure if there is a reason why this hasn't been done already but
> we've been having problems integrating Apache::DBI caching and
> DBD::Proxy to DBD::Pg without the ping functionality.
>
> # diff DBI/ProxyServer.pm.orig DBI/ProxyServer.pm.new
> 90a91
> > 'ping' => 1,
>
> # diff DBD/Proxy.pm.orig DBD/Proxy.pm.new
> 297a298,306
> > sub ping () {
> > my ($dbh) = @_;
> > my $rdbh = $dbh->{'proxy_dbh'};
> > my $res = eval { $rdbh->ping(); };
> >
> > return $res;
> > }
> >
> >
.



Relevant Pages

  • Re: The pros and cons of .NET
    ... in good speaking terms with Tim in the newsgroup.languages.vb. ... real does not need advocasy from Jon Skeet. ... >the .NET framework installed. ... not agree his tickling part about Brittain, however in its context agree. ...
    (microsoft.public.dotnet.general)
  • Re: Outlook 2000 (SP3) slow to start, close and display emails
    ... I found how to start in in the safe modes. ... Tim - ... Some time ago, after receiving a mountain of spam one day, her Outlook ... It uses the MS Active Sync I believe. ...
    (microsoft.public.outlook)
  • Re: Mixolydian V chord
    ... I will agree Joey - out of context, ... safe bet, ... So I guess I'm in a fight now, not only with Steve, but with myself (and ... I don't mean it to be a fight - I'm just interested in why you hear it as ...
    (rec.music.theory)
  • Re: How to "cast" string "1 + 2 + 3" to a number?
    ... the context here is parsing config and output files for a ... my $c = new Safe; ... #Minimum safe opcode set for building data structures ...
    (comp.lang.perl.misc)
  • Re: How best get rid of SELinux?
    ... I'd expect man selinux to get me started with the ... Tim wants to use Fedora to play around with Apache ... changes the files context to the minimal context required for http to ...
    (Fedora)