include/master-slave.inc
Warnings:
Note	####	Sending passwords in plain text without SSL/TLS is extremely insecure.
Note	####	Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
[connection master]
include/stop_slave.inc
SET @save_slave_parallel_workers= @@slave_parallel_workers;
SET @@global.slave_parallel_workers=4;
include/start_slave.inc
DROP DATABASE IF EXISTS db1;
DROP DATABASE IF EXISTS db2;
CREATE DATABASE db1;
CREATE DATABASE db2;
CREATE TABLE db1.tb1 (f1 int) ENGINE=MyISAM;
CREATE TABLE db2.tb2 (f1 int) ENGINE=InnoDB;
CREATE TRIGGER db1.tr AFTER INSERT ON tb1 FOR EACH ROW INSERT INTO db2.tb2
(f1) VALUES (new.f1);
LOAD DATA LOCAL INFILE 'MYSQLTEST_VARDIR/load_bug12982188.txt' INTO TABLE db1.tb1;
SELECT COUNT(*) FROM db2.tb2;
COUNT(*)
10
DROP DATABASE db1;
DROP DATABASE db2;
include/stop_slave.inc
SET @@global.slave_parallel_workers= @save_slave_parallel_workers;
