summaryrefslogtreecommitdiff
path: root/sql/sql_repl.h
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2013-04-04 17:38:10 +0200
committerunknown <knielsen@knielsen-hq.org>2013-04-04 17:38:10 +0200
commitc2cbc9cee6a3f8f745501ee2f5fcfd4586f53bbd (patch)
treeb779d3a554d9f69556e1a805b46bf27261a5c451 /sql/sql_repl.h
parentbdf6367d0e019703b48c62b1ae5728e48ba0eba7 (diff)
downloadmariadb-git-c2cbc9cee6a3f8f745501ee2f5fcfd4586f53bbd.tar.gz
MDEV-26: Global transaction ID.
Move combining slave and gtid binlog state into a separate function. Make SHOW ALL SLAVES STATUS use the same function, so it shows the same value used by slave connect. Add a test case.
Diffstat (limited to 'sql/sql_repl.h')
-rw-r--r--sql/sql_repl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_repl.h b/sql/sql_repl.h
index dd67aaa12f8..22183f2a2b2 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 gtid_state_from_binlog_pos(const char *name, uint32 pos, String *out_str);
+int rpl_append_gtid_state(String *dest, bool use_binlog);
#endif /* HAVE_REPLICATION */