summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index ff7460e7ef6..8c43f0465dc 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -3073,9 +3073,12 @@ struct slave_connection_state
~slave_connection_state();
int load(char *slave_request, size_t len);
+ int load(const rpl_gtid *gtid_list, uint32 count);
rpl_gtid *find(uint32 domain_id);
+ int update(const rpl_gtid *in_gtid);
void remove(const rpl_gtid *gtid);
ulong count() const { return hash.records; }
+ int to_string(String *out_str);
};
@@ -3261,6 +3264,8 @@ public:
#ifdef MYSQL_SERVER
bool write(IO_CACHE *file);
#endif
+ static bool peek(const char *event_start, uint32 event_len,
+ rpl_gtid **out_gtid_list, uint32 *out_list_len);
};