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:
@ -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'";
|
||||
}
|
||||
|
Reference in New Issue
Block a user