mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merge branch '10.3' into 10.4
This commit is contained in:
@ -142,11 +142,11 @@ sub diff {
|
||||
|
||||
sub is_subset {
|
||||
my ($set, $subset)= @_;
|
||||
my %cache = map { _split_option($_) } @$set;
|
||||
my %cache = map { join('=', _split_option($_)), 1 } @$set;
|
||||
|
||||
for (@$subset){
|
||||
my ($name, $value)= _split_option($_);
|
||||
return 0 unless exists $cache{$name} and $cache{$name} eq $value;
|
||||
return 0 unless $cache{"$name=$value"};
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user