diff options
author | Teemu Ollakka <teemu.ollakka@galeracluster.com> | 2019-07-15 12:06:24 +0300 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2019-07-15 12:06:24 +0300 |
commit | 61cc932781cae3864be8f964c3893cfc3f059ff6 (patch) | |
tree | ac870dce76aed3013ef3b2fb4d3b4f999a0a0932 /mysql-test/include/kill_binlog_dump_threads.inc | |
parent | a0230bc76d78202178f43d2f4f6a7e3322c19a16 (diff) | |
download | mariadb-git-61cc932781cae3864be8f964c3893cfc3f059ff6.tar.gz |
Wsrep crash caused by COM_CHANGE_USER, COM_RESET_CONNECTION (#1358)
COM_CHANGE_USER and COM_RESET_CONNECTION commands cause
THD::cleanup() to be called in the middle of command handling.
This causes wsrep client_state sanity checks to fail.
As a fix, temporarily close wsrep client_state before THD::change_user()
is called when handling COM_CHANGE_USER and COM_RESET_CONNECTION,
and restore the state after THD::change_user() returns.
This commit also updates wsrep-lib to version which removes
exception usage in wsrep client_state sanity checks.
Diffstat (limited to 'mysql-test/include/kill_binlog_dump_threads.inc')
0 files changed, 0 insertions, 0 deletions