• unknown's avatar
    MDEV-6156: Parallel replication incorrectly caches charset between worker threads · 010971a7
    unknown authored
    Replication caches the character sets used in a query, to be able to quickly
    reuse them for the next query in the common case of them not having changed.
    
    In parallel replication, this caching needs to be per-worker-thread. The
    code was not modified to handle this correctly, so the caching in one worker
    could cause another worker to run a query using the wrong character set,
    causing replication corruption.
    010971a7
rpl_rli.h 23 KB