[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-modperl
Subject: Apache::DBI all_handlers
From: Rauznitz Balazs <jomagam () yahoo ! com>
Date: 1999-05-28 19:01:28
[Download RAW message or body]
Hi,
Having a long discussion with someone who is opening multiple database
connections per request I am now convinced that it would be a good idea
to have a function in Apache::DBI that returns the cached DB handlers.
Something like
sub all_handlers {
\%Connected;
}
so that a PerlLogHandler or PerlChildExitHandler could say:
my $DBIcache = Apache::DBI::all_handlers;
for my $handle ( values %$DBIcache ){
$handle->rollback;
}
What do you think ?
Balazs
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic