MOON
Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4
System: Linux vps.panamaemb.org.sg 3.10.0-1160.80.1.vz7.191.4 #1 SMP Thu Dec 15 20:31:06 MSK 2022 x86_64
User: panama (500)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //proc/3/root/usr/share/mysql-test/include/test_fieldsize.inc
#
# include/test_fieldsize.inc 
# 
# This include file is designed to create a table with one column
# whose size on the master is greater than that on the slave. The
# test should fail with an error on the slave.
#

connection master;
DROP TABLE IF EXISTS t1;

sync_slave_with_master;
STOP SLAVE;
eval $test_table_slave;

connection master;
eval $test_table_master;

--let $rpl_only_running_threads= 1
--source include/rpl_reset.inc

eval $test_insert;

connection slave;
--let $slave_sql_errno= convert_error(ER_SLAVE_CONVERSION_FAILED) # 1677
--source include/wait_for_slave_sql_error.inc

# The following should be 0
SELECT COUNT(*) FROM t1;
STOP SLAVE;
--source include/rpl_reset.inc
--let $rpl_only_running_threads= 0