summaryrefslogtreecommitdiff
path: root/sql/rpl_rli.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/rpl_rli.h')
-rw-r--r--sql/rpl_rli.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/rpl_rli.h b/sql/rpl_rli.h
index ed9ef3a9115..6365df8cec5 100644
--- a/sql/rpl_rli.h
+++ b/sql/rpl_rli.h
@@ -57,6 +57,15 @@ typedef struct st_relay_log_info
*/
bool no_storage;
+ /*
+ If true, events with the same server id should be replicated. This
+ field is set on creation of a relay log info structure by copying
+ the value of ::replicate_same_server_id and can be overridden if
+ necessary. For example of when this is done, check sql_binlog.cc,
+ where the BINLOG statement can be used to execute "raw" events.
+ */
+ bool replicate_same_server_id;
+
/*** The following variables can only be read when protect by data lock ****/
/*