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]>
> Subject: Re: Apache::DBI disconnect?
>
> On Mon, 24 Apr 2000, John S. Evans wrote:
>
>> 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:
>>
>> delete $Connected{$Idx};
>>
>> Is this something I should worry about? I'm assuming that this is happening
>> because my DB connection has timed out, and we're deleting the old
>> connection before creating a new one.
>
> It's a bad thing. You need to disconnect i.e. (just guessing from the
> code)
>
> $Connect{$Idx}->disconnect;
>
> before the delete.
>
> --
> -- Tom Mornini
> -- InfoMania Printing and Prepress
>