diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2020-11-06 20:37:46 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2020-11-06 20:37:46 +0000 |
commit | aca60d185d4b3fed74181b2d116e24069200b5cc (patch) | |
tree | 4a37349335e8d131c39616855638b2c9a8f856b8 /databases/xtrabackup8/files/patch-sql_binlog.cc | |
parent | audio/cyanrip: CD digital audio ripping program (diff) |
Split `databases/xtrabackup8', based on 8.x versions, which is intended
to be used against `databases/mysql80-server', which versions 2.4.x are
incompatible with.
PR: 250744
Notes
Notes:
svn path=/head/; revision=554316
Diffstat (limited to 'databases/xtrabackup8/files/patch-sql_binlog.cc')
-rw-r--r-- | databases/xtrabackup8/files/patch-sql_binlog.cc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/databases/xtrabackup8/files/patch-sql_binlog.cc b/databases/xtrabackup8/files/patch-sql_binlog.cc new file mode 100644 index 000000000000..2bae3d050d5a --- /dev/null +++ b/databases/xtrabackup8/files/patch-sql_binlog.cc @@ -0,0 +1,24 @@ +--- sql/binlog.cc.orig 2020-08-28 21:02:32 UTC ++++ sql/binlog.cc +@@ -9163,8 +9163,8 @@ void MYSQL_BIN_LOG::report_missing_purged_gtids( + + 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. +@@ -9217,8 +9217,8 @@ void MYSQL_BIN_LOG::report_missing_gtids( + 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; + |