From d83c3635ecf65c3c5743254a2129a2f309217b3d Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Wed, 27 Dec 2023 09:22:59 +0900 Subject: [PATCH] hack around my_bool --- mod/mod-mysql.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mod/mod-mysql.c b/mod/mod-mysql.c index ce998882..cefc7deb 100644 --- a/mod/mod-mysql.c +++ b/mod/mod-mysql.c @@ -25,7 +25,12 @@ */ #include "mod-mysql.h" + #include +#if !defined(MARIADB_VERSION_ID) && defined(MYSQL_VERSION_ID) && (MYSQL_VERSION_ID > 80000) +typedef bool my_bool; +#endif + #include "../lib/hawk-prv.h" #if MYSQL_VERSION_ID < 50000 @@ -34,7 +39,6 @@ struct param_data_t { - //int is_null; my_bool is_null; union {