https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7932

            Bug ID: 7932
           Summary: SQLite Bayes backend fails due to missing RPAD
           Product: Spamassassin
           Version: 3.4.2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Libraries
          Assignee: dev@spamassassin.apache.org
          Reporter: asabzaf...@mattcorallo.com
  Target Milestone: Undefined

Created attachment 5754
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5754&action=edit
Patch for the issue

SQLite does not support the RPAD function, causing most DB queries when using
it as the bayes backend to fail. Instead, we do it manually with sprintf in the
attached patch.

Note that I do now know very much perl, so this is probably not the ideal way
to do it, but this does seem to work quite well in my own testing.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to