summaryrefslogtreecommitdiff
path: root/sql/sql_locale.cc
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2014-04-23 16:06:06 +0200
committerunknown <knielsen@knielsen-hq.org>2014-04-23 16:06:06 +0200
commit010971a761c0dd0435d05d1e8b81ebeadadd9b3c (patch)
treee2c41992da192ba1cca740b5c0fb50c7aa8139a1 /sql/sql_locale.cc
parentf9e5f237f0091419c28d7d9d6ff3db5ed2ff5693 (diff)
downloadmariadb-git-010971a761c0dd0435d05d1e8b81ebeadadd9b3c.tar.gz
MDEV-6156: Parallel replication incorrectly caches charset between worker threads
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.
Diffstat (limited to 'sql/sql_locale.cc')
0 files changed, 0 insertions, 0 deletions