ports/databases/percona57-server/files/patch-include_mysql.h
Dima Panov b8ee7dca22
databases/percona57-*: update Percona MySQL to 5.7.41-44 release (+)
While here, introduce HAVE_TYPE_MY_BOOL variable alongside with typedef char my_bool;

This unbreak devel/apr1 build with mysql integration enabled whule dafault is set to percona

Release notes:	https://docs.percona.com/percona-server/5.7/release-notes/5.7.41-44.html
2023-04-03 10:42:19 +03:00

13 lines
289 B
C

--- include/mysql.h.orig 2023-02-28 17:21:35 UTC
+++ include/mysql.h
@@ -46,7 +46,10 @@ extern "C" {
#ifndef MYSQL_ABI_CHECK
#include <sys/types.h>
#endif
+#ifndef HAVE_TYPE_MY_BOOL
+#define HAVE_TYPE_MY_BOOL
typedef char my_bool;
+#endif
#if !defined(_WIN32)
#define STDCALL
#else