1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-8874 Replication filters configured in my.cnf are ignored if slave reset and reconfigured

Don't delete the rpl_filter on RESET SLAVE.
This commit is contained in:
Sachin
2019-06-12 15:58:44 +05:30
parent aa55d93cde
commit 7f2cfa8f47
5 changed files with 287 additions and 3 deletions

View File

@ -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'";
}