1
#############################################################################
2
# Original Author: JBM #
3
# Original Date: Aug/18/2005 #
4
#############################################################################
5
# TEST: To test the LOAD DATA INFILE in rbr #
6
#############################################################################
9
-- source include/master-slave.inc
11
# Begin clean up test section
14
DROP TABLE IF EXISTS test.t1;
18
CREATE TABLE test.t1 (a VARCHAR(255), PRIMARY KEY(a));
19
LOAD DATA INFILE '../std_data_ln/words2.dat' INTO TABLE test.t1;
20
DELETE FROM test.t1 WHERE a = 'abashed';
22
LOAD DATA INFILE '../std_data_ln/words2.dat' INTO TABLE test.t1;
25
SELECT * FROM test.t1 ORDER BY a DESC;
27
sync_slave_with_master;
29
SELECT * FROM test.t1 ORDER BY a DESC;
35
sync_slave_with_master;
37
# End of 5.0 test case