[Mimedefang] Mail::SpamAssassin::BayesStore::SQL databasepersistence.

David F. Skoll dfs at roaringpenguin.com
Wed Jul 20 13:59:36 EDT 2005


Matthew Schumacher wrote:

> The only thing the untie_db code does in the SQL module is disconnect
> from the database.  Since there is never a reason to do that unless we
> are exiting (in which case it's cleaned up anyway) I commented out the
> disconnect and undef statements.

That should be safe.

> I can now see persistent db connections, so it works, but I wonder if
> there are any adverse affects that are eluding me.  Can you think of any?

Nope.  Because all the "per-user" settings are just stored as keys in
the tables, it should be perfectly OK to maintain a persistent connection.

(Why didn't the SA people do it that way in the first place, I wonder?)

Regards,

David.



More information about the MIMEDefang mailing list