Boysenberry Payne wrote:
I noticed that even after I use my database handle with the disconnect function (i.e. $dbh->disconnect()) the mysql thread that was used for the database connectionhangs around in the sleep state, and reused later.When I use a non-mod_perl perl script using DBI the mysql thread goes away. Is this a feature of Apache::DBI?
Yes. As it says in the Apache::DBI documentation, disconnect() does nothing when using Apache::DBI.
- Perrin