diff options
author | unknown <knielsen@knielsen-hq.org> | 2012-11-07 14:18:10 +0100 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2012-11-07 14:18:10 +0100 |
commit | 3e798b033ab37291bc4e4a72e887aaf9a042662b (patch) | |
tree | 82178dd04d1d69f02d6b0b9ddfeca6dc405a6cd1 /sql/log.h | |
parent | 03f28863e845976f899c8c35dab3add918f4a8f6 (diff) | |
download | mariadb-git-3e798b033ab37291bc4e4a72e887aaf9a042662b.tar.gz |
MDEV-26: global transaction id. Intermediate commit.
Now master saves and restores the binlog state, across server restart and crash.
Diffstat (limited to 'sql/log.h')
-rw-r--r-- | sql/log.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/log.h b/sql/log.h index 417d0528801..18edea88a7f 100644 --- a/sql/log.h +++ b/sql/log.h @@ -771,6 +771,8 @@ public: inline uint32 get_open_count() { return open_count; } void set_status_variables(THD *thd); bool write_gtid_event(THD *thd, bool standalone, bool is_transactional); + int read_state_from_file(); + int write_state_to_file(); }; class Log_event_handler |