From ebbb2d513387c14bbb667f88e84ffbdb87a4dda3 Mon Sep 17 00:00:00 2001 From: Dima Panov Date: Sun, 30 May 2021 19:39:09 +1000 Subject: databases/mysql57-*: update to 5.7.32 GA release Release Notes: https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-34.html PR: 255748 (based on) MFH: 2021Q2 Approved by: joneum@ (implicit) --- databases/mysql57-server/files/patch-sql_binlog.cc | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 databases/mysql57-server/files/patch-sql_binlog.cc (limited to 'databases/mysql57-server/files/patch-sql_binlog.cc') diff --git a/databases/mysql57-server/files/patch-sql_binlog.cc b/databases/mysql57-server/files/patch-sql_binlog.cc new file mode 100644 index 000000000000..7367bc283603 --- /dev/null +++ b/databases/mysql57-server/files/patch-sql_binlog.cc @@ -0,0 +1,24 @@ +--- sql/binlog.cc.orig 2021-03-26 06:58:52 UTC ++++ sql/binlog.cc +@@ -9973,8 +9973,8 @@ void MYSQL_BIN_LOG::report_missing_purged_gtids(const + + char* missing_gtids= NULL; + char* slave_executed_gtids= NULL; +- gtid_missing.to_string(&missing_gtids, NULL); +- slave_executed_gtid_set->to_string(&slave_executed_gtids, NULL); ++ gtid_missing.to_string(&missing_gtids, false); ++ slave_executed_gtid_set->to_string(&slave_executed_gtids, false); + + /* + Log the information about the missing purged GTIDs to the error log +@@ -10045,8 +10045,8 @@ void MYSQL_BIN_LOG::report_missing_gtids(const Gtid_se + Gtid_set gtid_missing(slave_executed_gtid_set->get_sid_map()); + gtid_missing.add_gtid_set(slave_executed_gtid_set); + gtid_missing.remove_gtid_set(previous_gtid_set); +- gtid_missing.to_string(&missing_gtids, NULL); +- slave_executed_gtid_set->to_string(&slave_executed_gtids, NULL); ++ gtid_missing.to_string(&missing_gtids, false); ++ slave_executed_gtid_set->to_string(&slave_executed_gtids, false); + + String tmp_uuid; + uchar name[]= "slave_uuid"; -- cgit v1.2.3