You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by pa...@apache.org on 2005/12/19 07:13:30 UTC

svn commit: r357652 - /spamassassin/trunk/lib/Mail/SpamAssassin/BayesStore/DBM.pm

Author: parker
Date: Sun Dec 18 22:13:27 2005
New Revision: 357652

URL: http://svn.apache.org/viewcvs?rev=357652&view=rev
Log:
Bug 4320: Do not bother printing db version when there are no databases, it is bogus anyway

Modified:
    spamassassin/trunk/lib/Mail/SpamAssassin/BayesStore/DBM.pm

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/BayesStore/DBM.pm
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/lib/Mail/SpamAssassin/BayesStore/DBM.pm?rev=357652&r1=357651&r2=357652&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/BayesStore/DBM.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/BayesStore/DBM.pm Sun Dec 18 22:13:27 2005
@@ -286,7 +286,8 @@
 
   # set our cache to what version DB we're using
   $self->{db_version} = ($self->get_storage_variables())[6];
-  dbg("bayes: found bayes db version ".$self->{db_version});
+  # don't bother printing this unless found since it would be bogus anyway
+  dbg("bayes: found bayes db version ".$self->{db_version}) if ($found);
 
   # figure out if we can read the current DB and if we need to do a
   # DB version update and do it if necessary if either has a problem,