• Jan Lindström's avatar
    MDEV-443: Galera: Server crashes on flushing tables for SST if started with... · ed26f701
    Jan Lindström authored
    MDEV-443: Galera: Server crashes on flushing tables for SST if started with character_set_server utf16 or utf32 or ucs2, and with wsrep_sst_method=rsync
    
    Analysis: In SST Galera directly calls parser using current client character
    set. Similarly in BF Galera uses client character set to apply. However,
    there are character sets that are not currently supported by the parser.
    
    Fix: If currenct client character set is one of those that is not supported
    by the parser, temporally set character set to latin1 before we enter
    parser and restore it after we have parsed.
    
    ed26f701
wsrep_sst.cc 26.9 KB