From a952a7c055c422de865c4c5ac7443bcb3ff0f342 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Fri, 5 Feb 2021 08:55:22 -0500 Subject: [PATCH] TT#108003 use bool type instead of my_bool While MariaDB uses my_bool here, MySQL uses the standard bool type. Both are compatible, so use the more standard one. Change-Id: I648bc8eb55f7617f6b4eb796a33bc77ce15ca34b --- medmysql.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/medmysql.c b/medmysql.c index 3880346..386e166 100644 --- a/medmysql.c +++ b/medmysql.c @@ -1,3 +1,4 @@ +#include #include #include #include @@ -375,7 +376,7 @@ static medmysql_handler *medmysql_handler_init(const char *name, const char *hos const char *pass, const char *db, unsigned int port) { medmysql_handler *ret; - my_bool recon = 1; + bool recon = 1; ret = malloc(sizeof(*ret)); if (!ret) {