2
# include/test_fieldsize.inc
4
# This include file is designed to create a table with one column
5
# whose size on the master is greater than that on the slave. The
6
# test should fail with an error on the slave.
10
DROP TABLE IF EXISTS t1;
12
sync_slave_with_master;
15
eval $test_table_slave;
18
eval $test_table_master;
25
wait_for_slave_to_stop;
26
--replace_result $MASTER_MYPORT MASTER_PORT
27
--replace_column 1 # 4 # 7 # 8 # 9 # 16 # 22 # 23 # 33 # 35 # 36 #
28
--query_vertical SHOW SLAVE STATUS
30
# The following should be 0
31
SELECT COUNT(*) FROM t1;