aboutsummaryrefslogtreecommitdiff
path: root/databases/mysqlwsrep57-server/files/patch-sql_binlog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysqlwsrep57-server/files/patch-sql_binlog.cc')
-rw-r--r--databases/mysqlwsrep57-server/files/patch-sql_binlog.cc24
1 files changed, 24 insertions, 0 deletions
diff --git a/databases/mysqlwsrep57-server/files/patch-sql_binlog.cc b/databases/mysqlwsrep57-server/files/patch-sql_binlog.cc
new file mode 100644
index 000000000000..270179e31aa4
--- /dev/null
+++ b/databases/mysqlwsrep57-server/files/patch-sql_binlog.cc
@@ -0,0 +1,24 @@
+--- sql/binlog.cc.orig 2020-11-02 12:26:34 UTC
++++ sql/binlog.cc
+@@ -10144,8 +10144,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
+@@ -10216,8 +10216,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";