From 9d9ddad759a432967934baac596ef20d613214b3 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 18 Mar 2013 15:09:36 +0100 Subject: MDEV-26: Global transaction ID. Fix things so that a master can switch with MASTER_GTID_POS=AUTO to a slave that was previously running with log_slave_updates=0, by looking into the slave replication state on the master when the slave requests something not present in the binlog. Be a bit more strict about what position the slave can ask for, to avoid some easy-to-hit misconfiguration errors. Start over with seq_no counter when RESET MASTER. --- sql/rpl_rli.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/rpl_rli.h') diff --git a/sql/rpl_rli.h b/sql/rpl_rli.h index c5ab25bcd66..7aff6720aac 100644 --- a/sql/rpl_rli.h +++ b/sql/rpl_rli.h @@ -594,5 +594,6 @@ int init_relay_log_info(Relay_log_info* rli, const char* info_fname); extern struct rpl_slave_state rpl_global_gtid_slave_state; +int rpl_load_gtid_slave_state(THD *thd); #endif /* RPL_RLI_H */ -- cgit v1.2.1