From 041f26d349f1afb9edf6b0f17dfecfb3f29a9d25 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 11 Feb 2013 16:44:38 +0100 Subject: MDEV-26. Intermediate commit. Implement binlog_gtid_pos() function. This will be used so that the slave can obtain the gtid position automatically from first connect with old-style position - then MASTER_GTID_POS=AUTO will work the next time. Can also be used by mysqldump --master-data to give the current gtid position directly. --- sql/sql_repl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/sql_repl.h') diff --git a/sql/sql_repl.h b/sql/sql_repl.h index 89fa0cf25be..73046dd8667 100644 --- a/sql/sql_repl.h +++ b/sql/sql_repl.h @@ -69,6 +69,7 @@ extern PSI_mutex_key key_LOCK_slave_state, key_LOCK_binlog_state; void rpl_init_gtid_slave_state(); void rpl_deinit_gtid_slave_state(); int rpl_load_gtid_slave_state(THD *thd); +int gtid_state_from_binlog_pos(const char *name, uint32 pos, String *out_str); #endif /* HAVE_REPLICATION */ -- cgit v1.2.1