1
-- source include/master-slave.inc
2
-- source include/have_binlog_format_row.inc
3
-- source include/have_utf16.inc
6
# BUG#51716: Char column with utf16 character set gives wrong padding on slave
9
CREATE TABLE t1(c1 CHAR(10) CHARACTER SET utf16 DEFAULT 'ola');
10
INSERT INTO t1 VALUES ('abc'); # explicit value is inserted and encoded correctly
12
-- echo #### ON MASTER
13
--query_vertical SELECT c1, hex(c1) from t1
15
-- sync_slave_with_master
18
--query_vertical SELECT c1, hex(c1) FROM t1
20
# assertion: tables don't differ
21
-- let $diff_table_1=master:test.t1
22
-- let $diff_table_2=slave:test.t1
23
-- source include/diff_tables.inc