Bug #29564 master produces wrong charset in binlog for row based ucs2_general_ci
Submitted: 5 Jul 2007 6:23 Modified: 2 Nov 2007 1:09
Reporter: Stewart Smith Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Replication Severity:S2 (Serious)
Version:5.1.19, 5.1-telco, 5.1 BK OS:Any
Assigned to: Assigned Account CPU Architecture:Any
Tags: bfsm_2007_10_18

[5 Jul 2007 6:23] Stewart Smith
Description:
BEGIN and COMMIT are inserted in binlog in incorrect charset.

This is related to BUG#29562 and BUG#29563

How to repeat:
set mysql-test/t/rpl_ndb_ctype_ucs2_def-master.opt to:

--default-collation=ucs2_general_ci --default-character-set=ucs2,latin1

and run the test.

look at binlog produced (with less so you see the multibyte characters).

Suggested fix:
patch to be attached.... likely not optimal, but good starting point.
[5 Jul 2007 6:23] Stewart Smith
BEGIN and COMMIT in row based binlog in correct charset

Attachment: log_cc.patch (text/x-patch), 1.28 KiB.

[23 Oct 2007 21:24] Lars Thalmann
Duplicate of BUG#29562.