mariadb/mysql-test/t/rpl_loaddata_fatal.test
unknown 2b24acb2a4 Fixing some trivial test problems.
mysql-test/r/rpl_loaddata_fatal.result:
  Result change
mysql-test/r/rpl_slave_skip.result:
  Result change
mysql-test/t/rpl_loaddata_fatal.test:
  Test only valid for debug build
  Adding shutdown sequence.
mysql-test/t/rpl_slave_skip.test:
  Masking out new columns.
sql/log_event.cc:
  Freeing memory to keep valgrind silent.
2007-06-13 15:16:33 +02:00

29 lines
740 B
Text

source include/have_binlog_format_mixed_or_statement.inc;
source include/have_debug.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);
sync_slave_with_master;
source include/show_slave_status.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_ln/rpl_loaddata.dat' INTO TABLE t1;
connection slave;
wait_for_slave_to_stop;
source include/show_slave_status.inc;
connection slave;
SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1;
START SLAVE;
connection master;
DROP TABLE t1;
sync_slave_with_master;