~maria-captains/maria/mysql-6.0-backup

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/t/rpl_row_utf16.test

  • Committer: Thava Alagu
  • Date: 2010-03-18 17:40:22 UTC
  • mfrom: (3719.14.67 mysql-6.0-codebase)
  • Revision ID: thavamuni.alagu@sun.com-20100318174022-d1yknocintpcgbp2
Auto-merge from mysql-6.0-codebase

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
-- source include/master-slave.inc
 
2
-- source include/have_binlog_format_row.inc
 
3
-- source include/have_utf16.inc
 
4
 
 
5
#
 
6
# BUG#51716: Char column with utf16 character set gives wrong padding on slave
 
7
#
 
8
 
 
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
 
11
 
 
12
-- echo #### ON MASTER
 
13
--query_vertical SELECT c1, hex(c1) from t1
 
14
 
 
15
-- sync_slave_with_master
 
16
 
 
17
-- echo #### ON SLAVE
 
18
--query_vertical SELECT c1, hex(c1) FROM t1
 
19
 
 
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
 
24
 
 
25
DROP TABLE t1;