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

            Bug ID: 8462
           Summary: user_scores_sql_custom_query example uses ||, which is
                    OR in MySQL and MariaDB
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Undefined

Created attachment 6154
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=6154&action=edit
use CONCAT for the domain default username in the example query

The example query in the documentation of user_scores_sql_custom_query uses ||
as a concatenation operator, which requires a mode setting in MySQL and
MariaDB.

The attached patch writes the example with CONCAT, which works in MySQL,
MariaDB and PostgreSQL.

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

Reply via email to