diff options
author | Alfranio Correia <alfranio.correia@sun.com> | 2010-06-01 15:39:07 +0100 |
---|---|---|
committer | Alfranio Correia <alfranio.correia@sun.com> | 2010-06-01 15:39:07 +0100 |
commit | ebde6f6de03cab4414ec86bcc0e6444773490d99 (patch) | |
tree | 8c67178c7a46ca3c7c56425ddf8c053e9421f3bf /mysql-test/t/commit.test | |
parent | ff6cf4bb462cf2d6fc0b761c40639f268eb0b5f5 (diff) | |
download | mariadb-git-ebde6f6de03cab4414ec86bcc0e6444773490d99.tar.gz |
BUG#53421 Part of transaction not written in binlog after deadlock, replication
breaks
When a "CREATE TEMPORARY TABLE SELECT * FROM" was executed the OPTION_KEEP_LOG was
not set into the thd->variables.option_bits. For that reason, if the transaction
had updated only transactional engines and was rolled back at the end (.e.g due to
a deadlock) the changes were not written to the binary log, including the creation
of the temporary table.
To fix the problem, we have set the OPTION_KEEP_LOG into the
thd->variables.option_bits when a "CREATE TEMPORARY TABLE
SELECT * FROM" is executed.
Diffstat (limited to 'mysql-test/t/commit.test')
0 files changed, 0 insertions, 0 deletions