aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2020-01-29 20:19:32 +0100
committerGitHub <noreply@github.com>2020-01-29 20:19:32 +0100
commitfc620232ae190796485150007f064dda5c07c6ff (patch)
tree83836ac4b3407dd25d040d4b96683d4af60c1266
parentMerge pull request #63 from whataboutpereira/mysql-v8 (diff)
parentFix builds for MariaDB users (diff)
downloadOpenSMTPD-extras-fc620232ae190796485150007f064dda5c07c6ff.tar.xz
OpenSMTPD-extras-fc620232ae190796485150007f064dda5c07c6ff.zip
Merge pull request #65 from adufray/patch-1
Fix builds for MariaDB users
-rw-r--r--extras/tables/table-mysql/table_mysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/tables/table-mysql/table_mysql.c b/extras/tables/table-mysql/table_mysql.c
index 257a713..53fb7b7 100644
--- a/extras/tables/table-mysql/table_mysql.c
+++ b/extras/tables/table-mysql/table_mysql.c
@@ -243,7 +243,7 @@ config_connect(struct config *conf)
{ "query_addrname", 1 },
{ "query_mailaddrmap", 1 },
};
-#if MYSQL_VERSION_ID >= 80001
+#if !defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 80001
bool reconn;
#else
my_bool reconn;