At 01:34 PM 12.27.2010 -0500, David F. Skoll wrote:
>On Mon, 27 Dec 2010 12:25:28 -0600
>"Jack L. Stone" <ja...@sage-american.com> wrote:
>
>> >I don't think so.  That message typically comes about when a DBI
>> >database handle goes out of scope without disconnect() having been
>> >called.
>
>> That was also one of my thoughts but noticed (as I recall) that the
>> Bayes.pm module has been the same code on that line for a while. It
>> does sound like a disconnect flaw, and I may experiment with adding a
>> disconnect on the offending line.
>
>Well, the line where the error gets reported might not be the real
>location of the problem.  That's certainly where $self goes out of
>scope, but the caller should be hanging on to a reference to avoid the
>DBI handle's destruction.
>
>I tried reading the SpamAssassin code, but I gave up after a while.
>It's pretty convoluted.  Makes me pine for the relative simplicity
>of the Sendmail source. :) [OUCH]
>
>Regards,
>
>David
>

David:

We're on the same page as I wondered what other snakes might bite me later
by tampering with that line. Don't think it would be fatal though to do
some tinkering....or not.

This is no doubt found in the logs of many others and hoped it would draw
attention to a qualified fix by an expert. OTOH, thought it might just be
my install although I've installed & configured versions going back several
years without the MySQL prob. SA has served me well.

Jack

(^_^)
Happy trails,
Jack L. Stone

System Admin
Sage-american

Reply via email to