#############################################################
# Author: Mats Kindahl <mats@mysql.com>
# Date:   2008-06-18
# Purpose: Test for BUG#37426
#   RBR breaks for CHAR() UTF8 fields > 85 chars
#############################################################

source include/master-slave.inc;
source include/have_binlog_format_row.inc;

connection master;
CREATE TABLE char128_utf8 ( 
    i1 INT NOT NULL, 
    c CHAR(128) CHARACTER SET utf8 NOT NULL, 
    i2 INT NOT NULL);

INSERT INTO char128_utf8 VALUES ( 1, "123", 1 );

SELECT * FROM char128_utf8;
sync_slave_with_master;

SELECT * FROM char128_utf8;
