diff options
author | unknown <knielsen@knielsen-hq.org> | 2013-05-24 22:21:08 +0200 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2013-05-24 22:21:08 +0200 |
commit | 416aed25ed2c27acbc47ec695fda023981be53c8 (patch) | |
tree | 9d7f0cbe5c9192cd70e6c98fb593f42bf0dbb5d5 /mysql-test/r/mysqldump-max.result | |
parent | 1cd6eb5f942ca3e94e86a48512d992fbb3aeecd9 (diff) | |
download | mariadb-git-416aed25ed2c27acbc47ec695fda023981be53c8.tar.gz |
MDEV-4475: Replication from MariaDB 10.0 to 5.5 does not work
The problem was the Gtid_list event which is logged to the binlog in
10.0 and is not understood by the 5.5 server.
This event is supposed to be replaced with a dummy event for 5.5
servers. But the very first event logged in the very first binlog
has an empty list of GTID, which makes the event too short to be
replacable with an empty event.
The fix is to pad the empty Gtid_list event to be big enough to
be replacable by a dummy event.
Diffstat (limited to 'mysql-test/r/mysqldump-max.result')
-rw-r--r-- | mysql-test/r/mysqldump-max.result | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mysql-test/r/mysqldump-max.result b/mysql-test/r/mysqldump-max.result index 2164b513335..8d5ab551bee 100644 --- a/mysql-test/r/mysqldump-max.result +++ b/mysql-test/r/mysqldump-max.result @@ -334,10 +334,10 @@ DROP TABLE t1; DROP TABLE t2; SHOW BINLOG EVENTS LIMIT 7,3; Log_name Pos Event_type Server_id End_log_pos Info -master-bin.000001 591 Xid 1 618 COMMIT /* XID */ -master-bin.000001 618 Gtid 1 656 GTID 0-1-3 -master-bin.000001 656 Query 1 775 use `test`; CREATE TABLE t2 (a INT PRIMARY KEY, b INT) ENGINE=InnoDB --- CHANGE MASTER TO MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=937; +master-bin.000001 593 Xid 1 620 COMMIT /* XID */ +master-bin.000001 620 Gtid 1 658 GTID 0-1-3 +master-bin.000001 658 Query 1 777 use `test`; CREATE TABLE t2 (a INT PRIMARY KEY, b INT) ENGINE=InnoDB +-- CHANGE MASTER TO MASTER_LOG_FILE='master-bin.000001', MASTER_LOG_POS=939; SELECT * FROM t1 ORDER BY a; a 1 |