include/master-slave.inc
[connection master]
include/stop_slave.inc
set @save.mts_slave_parallel_workers= @@global.mts_slave_parallel_workers;
set @@global.mts_slave_parallel_workers= 4;
include/start_slave.inc
Warnings:
Note	1726	Temporary failed transaction retry is not supported in Parallel Slave. Such failure will force the slave to stop.
set @@session.binlog_format= row;
create database d0;
create table d0.t1 (a int auto_increment primary key) engine=innodb;
set @@session.binlog_format= row;
create database d1;
create table d1.t1 (a int auto_increment primary key) engine=innodb;
set @@session.binlog_rows_query_log_events= 1;
set @@session.binlog_rows_query_log_events= 0;
include/diff_tables.inc [master:d0.t1, slave:d0.t1]
drop database d0;
drop database d1;
set @@global.mts_slave_parallel_workers= @save.mts_slave_parallel_workers;
include/rpl_end.inc
