summaryrefslogtreecommitdiff
path: root/sql/log_event_old.cc
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2013-02-19 11:45:29 +0100
committerunknown <knielsen@knielsen-hq.org>2013-02-19 11:45:29 +0100
commitbfec9c64b8a6e25c1c0da3e219a2f083b31bb9f4 (patch)
treefacb759a7c6bcb155ec058169e9ef7fed7a05c3b /sql/log_event_old.cc
parentff8676e0e1f9665a92f44ef7685a7221a451ddc3 (diff)
downloadmariadb-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.cc2
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