Hi!
I'm trying to track down a "Too many connections" error from MySQL. I want to make sure I don't have "connection leakage" inside Perl so I have a couple of questions
1. Must I do a finish on all statement handles (i.e.$sth->finish) before I disconnect the database handle (i.e.$dbh->disconnect) ?
2. Do I need to do a finish on a statement handle before I reuse it (for a different SQL statement) inside a Perl subroutine?
Thanks
Dabits
I'm trying to track down a "Too many connections" error from MySQL. I want to make sure I don't have "connection leakage" inside Perl so I have a couple of questions
1. Must I do a finish on all statement handles (i.e.$sth->finish) before I disconnect the database handle (i.e.$dbh->disconnect) ?
2. Do I need to do a finish on a statement handle before I reuse it (for a different SQL statement) inside a Perl subroutine?
Thanks
Dabits