• Alfranio Correia's avatar
    BUG#36391: "mysqlbinlog creates invalid charset statements" · 7b6ff85e
    Alfranio Correia authored
          
    The fix for BUG#20103 "Escaping with backslash does not work as expected"
    was implemented too greedy though in that it not only changes the behavior
    of backslashes within strings but in general, so disabling command shortcuts
    like \G or \C (which in turn leads to Bug #36391: "mysqlbinlog creates invalid charset
    statements").
          
    The fix allows the escaping with backslash to take place only inside a string, 
    thus enabling the execution of command shortcuts and presevering the fix for
    BUG#20103.
    7b6ff85e
mysql.cc 134 KB