connect_cached() does not ignore disconnect().  A disconnect() will remove 
the dbh from the cache.  I ran into odd problems using both (a mistake at the
time) connect_cached() and Apache::DBI under mod_perl.

-j

On Tue, Jun 20, 2000 at 11:22:48AM -0700, Perrin Harkins wrote:
> On Tue, 20 Jun 2000, Andrew Dunstan wrote:
> > What are the differences?
> Apache::DBI uses a cleanup handler to rollback any uncomitted transactions
> after each request.  It is also transparent, i.e. you can use normal
> connect statements and turn the persistence on or off by putting in
> Apache::DBI or not.
> 
> There are probably other differences that I'm not aware of.
> 
> - Perrin

Reply via email to