1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-4946: IO thread should expose its current GTID position

Add another column to SHOW SLAVE STATUS, and adjust test suite
to cope.
This commit is contained in:
unknown
2013-11-25 15:21:25 +01:00
parent 1aecd6e7e5
commit 7a1f31866c
10 changed files with 52 additions and 36 deletions

View File

@@ -194,10 +194,12 @@ ERROR HY000: This operation is not allowed if any GTID has been logged to the bi
RESET MASTER;
SET GLOBAL gtid_binlog_state = @old_state;
CREATE TABLE t1 (a INT PRIMARY KEY);
SET gtid_seq_no=100;
INSERT INTO t1 VALUES (1);
include/start_slave.inc
SELECT * FROM t1;
a
1
Gtid_IO_Pos = '0-1-100'
DROP TABLE t1;
include/rpl_end.inc