From f9c2b402f437a2278b04d971054fcacc57eb07aa Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 23 Aug 2013 14:02:13 +0200 Subject: MDEV-26: Global transaction ID. Implement @@gtid_binlog_state. This is the internal state of the binlog (most recent GTID logged for every domain_id and server_id). This allows to save the state before RESET MASTER and restore it afterwards. --- sql/sql_repl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_repl.h') diff --git a/sql/sql_repl.h b/sql/sql_repl.h index 917da9b598e..da55e3e863f 100644 --- a/sql/sql_repl.h +++ b/sql/sql_repl.h @@ -46,7 +46,7 @@ int stop_slave(THD* thd, Master_info* mi, bool net_report); bool change_master(THD* thd, Master_info* mi, bool *master_info_added); bool mysql_show_binlog_events(THD* thd); int reset_slave(THD *thd, Master_info* mi); -int reset_master(THD* thd); +int reset_master(THD* thd, rpl_gtid *init_state, uint32 init_state_len); bool purge_master_logs(THD* thd, const char* to_log); bool purge_master_logs_before_date(THD* thd, time_t purge_time); bool log_in_use(const char* log_name); -- cgit v1.2.1