~ubuntu-branches/ubuntu/lucid/mysql-dfsg-5.1/lucid-security

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 22:33:55 UTC
  • mto: (1.2.1) (37.1.1 lucid-security)
  • mto: This revision was merged to the branch mainline in revision 36.
  • Revision ID: package-import@ubuntu.com-20120222223355-ku1tb4r70osci6v2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#############################################################
 
2
# Purpose: Test for BUG#37426
 
3
#   RBR breaks for CHAR() UTF8 fields > 85 chars
 
4
#############################################################
 
5
 
 
6
source include/master-slave.inc;
 
7
source include/have_binlog_format_row.inc;
 
8
 
 
9
connection master;
 
10
CREATE TABLE char128_utf8 (i1 INT NOT NULL, c CHAR(128) CHARACTER SET utf8 NOT NULL, i2 INT NOT NULL);
 
11
INSERT INTO char128_utf8 VALUES ( 1, "123", 1 );
 
12
 
 
13
SELECT * FROM char128_utf8;
 
14
sync_slave_with_master;
 
15
 
 
16
SELECT * FROM char128_utf8;
 
17
 
 
18
# Clean up
 
19
connection master;
 
20
DROP TABLE char128_utf8;
 
21
sync_slave_with_master;
 
22
--source include/rpl_end.inc