mariadb/mysql-test/t/rpl_loaddata2.test
lars@mysql.com 11dde18f88 BUG#17339: Most rpl tests need to execute sync_slave_with_master to ensure that cleanup is done on slave
For this particular bug report it was rpl_loadfile.test that did not make proper cleanup, but the patch
includes fixes for other tests aswell.
2006-02-13 19:03:12 +01:00

14 lines
302 B
Text

--source include/master-slave.inc
CREATE TABLE t1 (word CHAR(20) NOT NULL);
LOAD DATA INFILE '../../std_data/words.dat' INTO TABLE t1;
SELECT * FROM t1 ORDER BY word;
sync_slave_with_master;
# Check
SELECT * FROM t1 ORDER BY word;
# Cleanup
connection master;
drop table t1;
sync_slave_with_master;