From ba0306e5ce8a05b1c5205e6d82238c41f14f7546 Mon Sep 17 00:00:00 2001 From: Leonid Fedorov Date: Wed, 16 Mar 2022 15:43:02 +0000 Subject: [PATCH] Fix build with Server 10.7 and newer. Its kinda hack, but works, can be reverted, when server fix thier code --- utils/common/collation.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/common/collation.h b/utils/common/collation.h index 951a2e03c..5d43df31f 100644 --- a/utils/common/collation.h +++ b/utils/common/collation.h @@ -88,6 +88,8 @@ typedef double pfloat; /* Mixed prototypes can't take float */ typedef const struct charset_info_st CHARSET_INFO; extern "C" MYSQL_PLUGIN_IMPORT CHARSET_INFO* default_charset_info; +#define HAVE_PSI_INTERFACE + #include "m_ctype.h" #undef FALSE