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 Apache::
"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)
Evans" <[EMAIL PROTECTED]>
> Cc: modperl <[EMAIL PROTECTED]>
> Subject: Re: Apache::DBI disconnect?
>
> On Mon, 24 Apr 2000, John S. Evans wrote:
>
>> Dang. That "delete" code is in the Apache::DBI code (Apache/DBI.pm line
>> 119). Is this a kno
On Mon, 24 Apr 2000, John S. Evans wrote:
> Dang. That "delete" code is in the Apache::DBI code (Apache/DBI.pm line
> 119). Is this a known bug in Apache::DBI, then?
No, I don't know of any problems with Apache::DBI. Typically the error
message that you are talking about happens when your $dbh
Dang. That "delete" code is in the Apache::DBI code (Apache/DBI.pm line
119). Is this a known bug in Apache::DBI, then?
-jse
> From: Tom Mornini <[EMAIL PROTECTED]>
> Date: Mon, 24 Apr 2000 17:49:35 -0700 (PDT)
> To: "John S. Evans" <[EMAIL PROTECTED]&
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 is