X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/acec9514b1006e352ef283f205ecec75a9b6ff0d..c5db348c5e29e93e51389fa0079f829967c5da82:/src/src/lookups/mysql.c diff --git a/src/src/lookups/mysql.c b/src/src/lookups/mysql.c index 0d3d92aa8..ff1ef8325 100644 --- a/src/src/lookups/mysql.c +++ b/src/src/lookups/mysql.c @@ -2,7 +2,7 @@ * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2015 */ +/* Copyright (c) University of Cambridge 1995 - 2017 */ /* See the file NOTICE for conditions of use and distribution. */ /* Thanks to Paul Kelly for contributing the original code for these @@ -19,12 +19,12 @@ and *_BASE_STR (char*). It's a bit of guesswork. Especially for mariadb with versions before 10.2, as they do not define there there specific symbols. */ -// Newer (>= 10.2) MariaDB +/* Newer (>= 10.2) MariaDB */ #if defined MARIADB_VERSION_ID #define EXIM_MxSQL_VERSION_ID MARIADB_VERSION_ID -// MySQL defines MYSQL_VERSION_ID, and MariaDB does so -// https://dev.mysql.com/doc/refman/5.7/en/c-api-server-client-versions.html +/* MySQL defines MYSQL_VERSION_ID, and MariaDB does so */ +/* https://dev.mysql.com/doc/refman/5.7/en/c-api-server-client-versions.html */ #elif defined LIBMYSQL_VERSION_ID #define EXIM_MxSQL_VERSION_ID LIBMYSQL_VERSION_ID #elif defined MYSQL_VERSION_ID @@ -34,18 +34,18 @@ with versions before 10.2, as they do not define there there specific symbols. #define EXIM_MYSQL_VERSION_ID 0 #endif -// Newer (>= 10.2) MariaDB +/* Newer (>= 10.2) MariaDB */ #ifdef MARIADB_CLIENT_VERSION_STR #define EXIM_MxSQL_VERSION_STR MARIADB_CLIENT_VERSION_STR -// Mysql uses MYSQL_SERVER_VERSION +/* Mysql uses MYSQL_SERVER_VERSION */ #elif defined LIBMYSQL_VERSION #define EXIM_MxSQL_VERSION_STR LIBMYSQL_VERSION #elif defined MYSQL_SERVER_VERSION #define EXIM_MxSQL_VERSION_STR MYSQL_SERVER_VERSION #else -#define EXIM_MxSQL_VERSION_STR "N.A." +#define EXIM_MxSQL_VERSION_STR "unknown" #endif #if defined MARIADB_BASE_VERSION