diff options
author | guilhem@mysql.com <> | 2004-04-28 18:24:46 +0200 |
---|---|---|
committer | guilhem@mysql.com <> | 2004-04-28 18:24:46 +0200 |
commit | 3fc39188ecc50b6f76d8e10f18596a5c10ef659b (patch) | |
tree | 4dc6a90359310c5dfb787550d9255ad52964cc27 /sql/slave.h | |
parent | 93797a0dffc42f812e55ab089847b804ee8c7204 (diff) | |
download | mariadb-git-3fc39188ecc50b6f76d8e10f18596a5c10ef659b.tar.gz |
A new option --replicate-same-server-id to force a slave to execute queries originating from itself
(WL#794). This can be of interest in some recovery-from-backup scenarios, and also when you have
two databases in one mysqld, having a certain similarity and you want one db to be updated when the other is
(some sort of trigger).
Plus small fix for BUG#3568 "MySQL server crashes when built --with-debug and CHANGE MASTER +MASTER_POS_WAIT"
Diffstat (limited to 'sql/slave.h')
-rw-r--r-- | sql/slave.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/slave.h b/sql/slave.h index 979c63af201..0cd8545338d 100644 --- a/sql/slave.h +++ b/sql/slave.h @@ -418,7 +418,7 @@ extern HASH replicate_do_table, replicate_ignore_table; extern DYNAMIC_ARRAY replicate_wild_do_table, replicate_wild_ignore_table; extern bool do_table_inited, ignore_table_inited, wild_do_table_inited, wild_ignore_table_inited; -extern bool table_rules_on; +extern bool table_rules_on, replicate_same_server_id; extern int disconnect_slave_event_count, abort_slave_event_count ; |