diff options
author | unknown <knielsen@knielsen-hq.org> | 2012-11-05 15:01:49 +0100 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2012-11-05 15:01:49 +0100 |
commit | 03f28863e845976f899c8c35dab3add918f4a8f6 (patch) | |
tree | 47d17f08d260da4dcf982110415f1b63b1f311a4 /sql/sql_repl.h | |
parent | ab8e8f4b277c23e6989650e0590ec0a5fa03fb3a (diff) | |
download | mariadb-git-03f28863e845976f899c8c35dab3add918f4a8f6.tar.gz |
MDEV-26: Global transaction commit. Intermediate commit.
Now slave records GTID in mysql.rpl_slave_state when applying XID log event.
Diffstat (limited to 'sql/sql_repl.h')
-rw-r--r-- | sql/sql_repl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_repl.h b/sql/sql_repl.h index 9ca7e6b00b1..89fa0cf25be 100644 --- a/sql/sql_repl.h +++ b/sql/sql_repl.h @@ -65,6 +65,11 @@ int log_loaded_block(IO_CACHE* file); int init_replication_sys_vars(); void mysql_binlog_send(THD* thd, char* log_ident, my_off_t pos, ushort flags); +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); + #endif /* HAVE_REPLICATION */ #endif /* SQL_REPL_INCLUDED */ |