"John S. Evans" wrote:
Weird. The whole point of Apache::DBI (or so I understand it) is so that
your $dbh stays valid across CGI or Handler calls.
That's right. The disconnect call is a no-op when using Apache::DBI.
I can only think of two reasons why I get the error message:
1) My
On Mon, 24 Apr 2000, John S. Evans wrote:
Weird. The whole point of Apache::DBI (or so I understand it) is so that
your $dbh stays valid across CGI or Handler calls.
Sure. But it does it magically. You're still supposed to call disconnect.
That way, your code will also work without
I've been using the Apache::DBI module, and it works great. However, I've
noticed that my error_log file has an occasional message that tells me:
Database handle destroyed without explicit disconnect at
/usr/local/lib/perl5/site_perl/5.005/Apache/DBI.pm line 119.
The "offending" line of code