List:MySQL and Perl« Previous MessageNext Message »
From:Jochen Wiedmann Date:December 10 2001 5:16pm
Subject:Re: list of open DB handles?
View as plain text  
Zitiere Bernd Prager <bprager@stripped>:

> I would like to write a kind of general cleanup subroutine for the 
> database handles when my program ends. Something like:
> $SIG{__DIE__} = $SIG{__INT__} = $SIG{__QUIT__} = \&cleanup.
> 
> Is there a way to determine all the open DB and statement handles?

See the standard DBI attributes like "Kids", "Active_Kids",
and so on.

Thread
$dbh->{'mysql_insertid'} returning 0Penny  Vaughan4 Dec
  • Re: $dbh->{'mysql_insertid'} returning 0Nick Tonkin4 Dec
    • Re: $dbh->{'mysql_insertid'} returning 0Nick Tonkin5 Dec
  • Re: $dbh->{'mysql_insertid'} returning 0Jochen Wiedmann5 Dec
  • list of open DB handles?Bernd Prager10 Dec
    • Re: list of open DB handles?Jochen Wiedmann10 Dec
Re: $dbh->{'mysql_insertid'} returning 0Ruben Safir5 Dec
  • Re: $dbh->{'mysql_insertid'} returning 0sherzodR5 Dec
RE: $dbh->{'mysql_insertid'} returning 0Penny  Vaughan5 Dec
RE: $dbh->{'mysql_insertid'} returning 0Penny  Vaughan5 Dec
  • Re: $dbh->{'mysql_insertid'} returning 0Chuck O'Donnell5 Dec
RE: $dbh->{'mysql_insertid'} returning 0Penny  Vaughan5 Dec