SA Bugzilla – Bug 7631
Added column last_hit without documentation or reflected in Upgrade file
Last modified: 2018-10-28 19:47:42 UTC
reported by Alex Woick <alex@wombaz.de> on list: - upon starting spamd, I got this message in the system log: auto-whitelist: sql-based get_addr_entry ignore@compiling.spamassassin.taint.org|none: SQL error: Unknown column 'last_hit' in 'order clause' It seems this column is added for 3.4.2, but it is not documented in the update notes. It's not even present in the CREATE TABLE statement in SQLBasedAddrList.pm. Should probably be added. I assume it is a auto-updating TIMESTAMP column purely for documentation like this: `last_hit` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
This seems to have come out of this change: https://svn.apache.org/viewvc?view=revision&revision=1698165 I'm not sure what it's fixing though. Is this function shared between AWL & TxRep?
SQLBasedAddrList.pm is used by TxRep and by AWL plugin as well, the last_hit field should be added to awl database as well.
Fixed in r1844485.
Actually, the issue appears in 3.4.1, but the UPGRADE notes make it sound like it didn't start until after 3.4.1. This seems confusing.