• aelkin@mysql.com's avatar
    BUG#14157: utf8 encoding in binlog without set character_set_client e.g DROP temporary · 226d978a
    aelkin@mysql.com authored
    Binlog lacks encoding info about DROPped temporary table.
    
    Idea of the fix is to switch temporary to system_charset_info when a temporary table
    is DROPped for binlog. Since that is the server, that automatically, but not the client, who generates the query
    the binlog should be updated on the server's encoding for the coming DROP.
    The `write_binlog_with_system_charset()' is introduced to replace similar problematic places in the code.
    226d978a
sql_base.cc 86.7 KB