Current Path : /home/usr.opt/mysql57/mysql-test/suite/rpl/t/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/rpl/t/rpl_loaddata_fatal.test |
source include/have_binlog_format_statement.inc; --source include/not_group_replication_plugin.inc source include/have_debug.inc; source include/not_gtid_enabled.inc; source include/master-slave.inc; # We do this little stunt to make sure that the slave has started # before we stop it again. connection master; CREATE TABLE t1 (a INT, b INT); INSERT INTO t1 VALUES (1,10); --source include/sync_slave_sql_with_master.inc # Now we feed it a load data infile, which should make it stop with a # fatal error. connection master; LOAD DATA INFILE '../../std_data/rpl_loaddata.dat' INTO TABLE t1; connection slave; call mtr.add_suppression("Slave SQL.*Fatal error: Not enough memory, Error_code: 1593"); call mtr.add_suppression("The slave coordinator and worker threads are stopped, possibly leaving data in inconsistent state"); --let $slave_sql_errno= convert_error(ER_SLAVE_FATAL_ERROR) # 1593 source include/wait_for_slave_sql_error_and_skip.inc; connection master; DROP TABLE t1; --source include/sync_slave_sql_with_master.inc --source include/rpl_end.inc