summaryrefslogtreecommitdiff
path: root/sql/rpl_filter.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2015-02-01 22:39:59 +0200
committerMonty <monty@mariadb.org>2015-02-01 22:39:59 +0200
commitcd9e69ec709ad960e40633f09dc9660fa5866929 (patch)
tree19d80890d545bfde61fe1fd2f3c957a2f5a10557 /sql/rpl_filter.cc
parent0ee879ff8ac1b80cd9a963015344f5698a81f309 (diff)
downloadmariadb-git-cd9e69ec709ad960e40633f09dc9660fa5866929.tar.gz
Cleaned up code for setting slave_parallel_mode
Now this works the same way as all other multi source variables.
Diffstat (limited to 'sql/rpl_filter.cc')
-rw-r--r--sql/rpl_filter.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/rpl_filter.cc b/sql/rpl_filter.cc
index 28859c2eb85..e3ebd329cc4 100644
--- a/sql/rpl_filter.cc
+++ b/sql/rpl_filter.cc
@@ -24,7 +24,9 @@
#define TABLE_RULE_ARR_SIZE 16
Rpl_filter::Rpl_filter() :
- table_rules_on(0), do_table_inited(0), ignore_table_inited(0),
+ parallel_mode(SLAVE_PARALLEL_DOMAIN | SLAVE_PARALLEL_FOLLOW_MASTER_COMMIT),
+ table_rules_on(0),
+ do_table_inited(0), ignore_table_inited(0),
wild_do_table_inited(0), wild_ignore_table_inited(0)
{
do_db.empty();