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 2004/09/08 23:59:36 UTC
svn commit: rev 43545 - spamassassin/trunk/lib/Mail/SpamAssassin/BayesStore
Author: parker
Date: Wed Sep 8 14:59:35 2004
New Revision: 43545
Modified:
spamassassin/trunk/lib/Mail/SpamAssassin/BayesStore/SQL.pm
Log:
Bug 3758: updating a tokens ham_count and atime did not trigger an update of newest_token_age
Modified: spamassassin/trunk/lib/Mail/SpamAssassin/BayesStore/SQL.pm
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/BayesStore/SQL.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/BayesStore/SQL.pm Wed Sep 8 14:59:35 2004
@@ -1827,6 +1827,7 @@
AND token = ?
AND ham_count + ? >= 0";
@args = ($ham_count, $atime, $self->{_userid}, $token, $ham_count);
+ $updated_atime_p = 1; # note the fact that we did do it
}
else {
$sql = "UPDATE bayes_token