DBI Proxy Ping
- From: gcampbell@xxxxxxxxxxxx (George Campbell)
- Date: Mon, 20 Jun 2005 11:14:58 -0700
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;
> }
>
>
.
- Follow-Ups:
- Re: DBI Proxy Ping
- From: Tim Bunce
- Re: DBI Proxy Ping
- Prev by Date: Re: Regarding DBI
- Next by Date: Cannot find DBD-Oracle.ppd
- Previous by thread: Regarding DBI
- Next by thread: Re: DBI Proxy Ping
- Index(es):
Relevant Pages
|
|