diff options
author | Sachin <sachin.setiya@mariadb.com> | 2019-06-12 15:58:44 +0530 |
---|---|---|
committer | Sachin <sachin.setiya@mariadb.com> | 2019-06-27 09:54:20 +0530 |
commit | 7f2cfa8f47cf05d8dbea65ced3656fd0fc6efbf5 (patch) | |
tree | af5c2c8bca9861b50a0686127b546096453e94b6 /mysql-test/lib | |
parent | aa55d93cde4da10ea5848b90314d1e0263f5fa43 (diff) | |
download | mariadb-git-7f2cfa8f47cf05d8dbea65ced3656fd0fc6efbf5.tar.gz |
MDEV-8874 Replication filters configured in my.cnf are ignored if slave reset and reconfigured
Don't delete the rpl_filter on RESET SLAVE.
Diffstat (limited to 'mysql-test/lib')
-rw-r--r-- | mysql-test/lib/My/Config.pm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mysql-test/lib/My/Config.pm b/mysql-test/lib/My/Config.pm index 12647edf0a4..86bb7a5f961 100644 --- a/mysql-test/lib/My/Config.pm +++ b/mysql-test/lib/My/Config.pm @@ -327,7 +327,13 @@ sub new { # Skip comment next; } - + # Correctly process Replication Filter when they are defined + # with connection name. + elsif ( $line =~ /^([\w]+.[\w]+)\s*=\s*(.*)\s*/){ + my $option= $1; + my $value= $2; + $self->insert($group_name, $option, $value); + } else { croak "Unexpected line '$line' found in '$path'"; } |