| 1 |
--source include/have_innodb.inc |
| 2 |
--source include/master-slave.inc |
| 3 |
|
| 4 |
--connection slave |
| 5 |
call mtr.add_suppression("The automatically created table.*name may not be entirely in lowercase"); |
| 6 |
|
| 7 |
--source include/stop_slave.inc |
| 8 |
CHANGE MASTER TO master_use_gtid=slave_pos; |
| 9 |
|
| 10 |
SET @@global.gtid_pos_auto_engines="innodb"; |
| 11 |
--source include/start_slave.inc |
| 12 |
--let $rpl_xa_check_lhs= @@global.gtid_slave_pos |
| 13 |
--let $rpl_xa_check_rhs= CONCAT(domain_id,"-",server_id,"-",seq_no) FROM mysql.gtid_slave_pos WHERE seq_no = (SELECT DISTINCT max(seq_no) FROM mysql.gtid_slave_pos) |
| 14 |
--let $rpl_xa_check=SELECT $rpl_xa_check_lhs = $rpl_xa_check_rhs |
| 15 |
--source rpl_xa.inc |
| 16 |
|
| 17 |
--connection slave |
| 18 |
--source include/stop_slave.inc |
| 19 |
SET @@global.gtid_pos_auto_engines=""; |
| 20 |
SET @@session.sql_log_bin=0; |
| 21 |
DROP TABLE mysql.gtid_slave_pos_InnoDB; |
| 22 |
if (`SHOW COUNT(*) WARNINGS`) |
| 23 |
{ |
| 24 |
show tables in mysql like 'gtid_slave_pos%'; |
| 25 |
} |
| 26 |
SET @@session.sql_log_bin=1; |
| 27 |
--source include/start_slave.inc |
| 28 |
|
| 29 |
--source include/rpl_end.inc |