[exim-dev] [Bug 2165] New: Compile error against MariaDB 10.…

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: admin
Fecha:  
A: exim-dev
Asunto: [exim-dev] [Bug 2165] New: Compile error against MariaDB 10.2.8+
https://bugs.exim.org/show_bug.cgi?id=2165

            Bug ID: 2165
           Summary: Compile error against MariaDB 10.2.8+
           Product: Exim
           Version: 4.89
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Lookups
          Assignee: nigel@???
          Reporter: bugs-a17@???
                CC: exim-dev@???


Created attachment 1032
--> https://bugs.exim.org/attachment.cgi?id=1032&action=edit
Patch src/lookups/mysql.c to work with mariadb-10.2

The latest MariaDB to enter "GA" status, version 10.2, has had a significant
re-factoring of their header files beginning with version 10.2.8. Two
constants referenced by Exim, MYSQL_SERVER_VERSION and
MYSQL_COMPILATION_COMMENT, are no longer present in /usr/include/mysql/mysql.h

To compile Exim with the current MariaDB, I made a very simple patch to
src/lookups/mysql.c that looks for the presence of those constants, and does a
#include <server/mysql_version.h> if not found.

Works for me.

--
You are receiving this mail because:
You are on the CC list for the bug.