diff options
author | unknown <knielsen@knielsen-hq.org> | 2013-02-19 11:45:29 +0100 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2013-02-19 11:45:29 +0100 |
commit | bfec9c64b8a6e25c1c0da3e219a2f083b31bb9f4 (patch) | |
tree | facb759a7c6bcb155ec058169e9ef7fed7a05c3b /sql/log_event_old.cc | |
parent | ff8676e0e1f9665a92f44ef7685a7221a451ddc3 (diff) | |
download | mariadb-git-bfec9c64b8a6e25c1c0da3e219a2f083b31bb9f4.tar.gz |
MDEV-26: Global transaction ID, intermediate commit.
- Fix that slave GTID state was updated from the wrong place in the code,
causing random crashing and other misery.
- Fix updates to mysql.rpl_slave_state to not go to binlog (this would cause
duplicate key errors on the slave and is generally the wrong thing to do).
Diffstat (limited to 'sql/log_event_old.cc')
-rw-r--r-- | sql/log_event_old.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/log_event_old.cc b/sql/log_event_old.cc index e9afe474418..698118e3bda 100644 --- a/sql/log_event_old.cc +++ b/sql/log_event_old.cc @@ -1847,7 +1847,7 @@ Old_rows_log_event::do_update_pos(Relay_log_info *rli) Step the group log position if we are not in a transaction, otherwise increase the event log position. */ - rli->stmt_done(log_pos, when); + rli->stmt_done(log_pos, when, thd); /* Clear any errors in thd->net.last_err*. It is not known if this is needed or not. It is believed that any errors that may exist in |