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