mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Use MARIADB_BASE_VERSION instead of LIBMARIADB to detect Maria DB
It was discovered that MariaDB 10 didn't define LIBMARIADB leading to compilation errors of MySQL DLZ modules on Debian stretch. Use MARIADB_BASE_VERSION instead which is defined in all tested MariaDB versions.
This commit is contained in:
@@ -44,9 +44,9 @@
|
||||
#include <dlz_minimal.h>
|
||||
#include <dlz_pthread.h>
|
||||
|
||||
#if !defined(LIBMARIADB) && MYSQL_VERSION_ID >= 80000
|
||||
#if !defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 80000
|
||||
typedef bool my_bool;
|
||||
#endif /* !defined(LIBMARIADB) && MYSQL_VERSION_ID >= 80000 */
|
||||
#endif /* !defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 80000 */
|
||||
|
||||
#define dbc_search_limit 30
|
||||
#define ALLNODES 1
|
||||
|
@@ -56,9 +56,9 @@
|
||||
#include <dlz_minimal.h>
|
||||
#include <dlz_pthread.h>
|
||||
|
||||
#if !defined(LIBMARIADB) && MYSQL_VERSION_ID >= 80000
|
||||
#if !defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 80000
|
||||
typedef bool my_bool;
|
||||
#endif /* !defined(LIBMARIADB) && MYSQL_VERSION_ID >= 80000 */
|
||||
#endif /* !defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 80000 */
|
||||
|
||||
/*
|
||||
* The SQL queries that will be used for lookups and updates are defined
|
||||
|
Reference in New Issue
Block a user