• bar@mysql.com/bar.intranet.mysql.r18.ru's avatar
    Bug#23619 Incorrectly escaped multibyte characters in binary log break replication · a5de478d
    Problem: when embedding a character string with introducer with charset X
    into a SQL query which is generally in character set Y, the string constants
    were escaped according to their own character set (i.e.X), then after reading
    such a "mixed" query from binlog, the string constants were unescaped
    using character set of the query (i.e. Y), instead of X, which gave wrong
    results or even syntax errors with tricky charsets (e.g. sjis)
    Fix: when embedding a string constant of charset X into a query of charset Y,
    the string constant is now escaped according to character Y, instead of
    its own character set X.
    a5de478d
rpl_charset_sjis.result 608 Bytes