summaryrefslogtreecommitdiff
path: root/sql/rpl_gtid.h
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2013-05-29 14:23:40 +0200
committerunknown <knielsen@knielsen-hq.org>2013-05-29 14:23:40 +0200
commit6feadb10823c352b1eb9b24682c7d24d32175b0f (patch)
tree3857b7cdd737de08b9c7c3f3aafa5d77b210676e /sql/rpl_gtid.h
parent385780f571c752e871f806997acad4fb28b9085c (diff)
downloadmariadb-git-6feadb10823c352b1eb9b24682c7d24d32175b0f.tar.gz
MDEV-4485: Incorrect error handling in record_gtid().
Fix the error handling when access to the table mysql.gtid_slave_pos fails for whatever reason. Add some test cases.
Diffstat (limited to 'sql/rpl_gtid.h')
-rw-r--r--sql/rpl_gtid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/rpl_gtid.h b/sql/rpl_gtid.h
index fefce684c2c..40d51568357 100644
--- a/sql/rpl_gtid.h
+++ b/sql/rpl_gtid.h
@@ -103,6 +103,7 @@ struct rpl_slave_state
void unlock() { DBUG_ASSERT(inited); mysql_mutex_unlock(&LOCK_slave_state); }
element *get_element(uint32 domain_id);
+ int put_back_list(uint32 domain_id, list_element *list);
void update_state_hash(uint64 sub_id, rpl_gtid *gtid);
int record_and_update_gtid(THD *thd, Relay_log_info *rli);