http://bugzilla.spamassassin.org/show_bug.cgi?id=3760
Summary: BayesSQL: tok_touch_all produces invalid sql when called
with no tokens
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P5
Component: Learner
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
If no significant tokens are found then tok_touch_all gets called with with an
empty array of tokens. tok_touch_all doesn't check for this condition so it
generates some bogus SQL code.
a) tok_touch_all shouldn't even be called if it's not going to do anything.
b) tok_touch_all should check for this condition and just return.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.