| 1 |
include/master-slave.inc |
| 2 |
[connection master] |
| 3 |
connection slave; |
| 4 |
include/stop_slave.inc |
| 5 |
CHANGE MASTER TO master_use_gtid=slave_pos; |
| 6 |
include/start_slave.inc |
| 7 |
connection master; |
| 8 |
create table t1 (a int) engine=innodb; |
| 9 |
create table t2 (a int); |
| 10 |
create table t3 (a int) engine=innodb; |
| 11 |
connection slave; |
| 12 |
include/wait_for_slave_sql_error_and_skip.inc [errno=1286] |
| 13 |
# Asserted this: Status should be 'Slave has read all relay log...' |
| 14 |
show tables; |
| 15 |
Tables_in_test |
| 16 |
t2 |
| 17 |
show create table t2; |
| 18 |
Table Create Table |
| 19 |
t2 CREATE TABLE `t2` ( |
| 20 |
`a` int(11) DEFAULT NULL |
| 21 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci |
| 22 |
show create table t1; |
| 23 |
ERROR 42S02: Table 'test.t1' doesn't exist |
| 24 |
show create table t3; |
| 25 |
ERROR 42S02: Table 'test.t3' doesn't exist |
| 26 |
connection master; |
| 27 |
drop table if exists t1; |
| 28 |
drop table if exists t2; |
| 29 |
drop table if exists t3; |
| 30 |
include/save_master_gtid.inc |
| 31 |
connection slave; |
| 32 |
include/sync_with_master_gtid.inc |
| 33 |
CALL mtr.add_suppression('Slave: Unknown storage engine .* Error_code: 1286'); |
| 34 |
include/rpl_end.inc |