From b020f808c2e69b6ed80298eb0ccc286139d42ba8 Mon Sep 17 00:00:00 2001 From: Jean Baptiste Favre Date: Wed, 21 Jun 2023 10:16:56 +0100 Subject: [PATCH] Fix build issue with MySQL 8 Origin: other, https://bugs.launchpad.net/ubuntu/+source/trafficserver/+bug/1795362 Forwarded: https://github.com/apache/trafficserver/pull/4360 Applied-Upstream: https://github.com/apache/trafficserver/commit/05b30527974416768515506f69da338652c23260 Reviewed-by: Jean Baptiste Favre Last-Update: 2018-10-06 The my_bool type is no longer used in MySQL source code. Any third-party code that used this type to represent C boolean variables should use the bool or int C type instead. Last-Update: 2018-10-06 Gbp-Pq: Name 0009-fix-mysql-8-build.patch --- plugins/experimental/mysql_remap/mysql_remap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/experimental/mysql_remap/mysql_remap.cc b/plugins/experimental/mysql_remap/mysql_remap.cc index 5f165985..6d31ecd7 100644 --- a/plugins/experimental/mysql_remap/mysql_remap.cc +++ b/plugins/experimental/mysql_remap/mysql_remap.cc @@ -187,7 +187,7 @@ TSPluginInit(int argc, const char *argv[]) my_data *data = (my_data *)malloc(1 * sizeof(my_data)); TSPluginRegistrationInfo info; - my_bool reconnect = 1; + bool reconnect = 1; info.plugin_name = const_cast(PLUGIN_NAME); info.vendor_name = const_cast("Apache Software Foundation"); -- 2.30.2