summaryrefslogtreecommitdiff
path: root/mysql-test/lib/My/Options.pm
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/lib/My/Options.pm')
-rw-r--r--mysql-test/lib/My/Options.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/lib/My/Options.pm b/mysql-test/lib/My/Options.pm
index 6e8cf7ec919..a0713f7c07e 100644
--- a/mysql-test/lib/My/Options.pm
+++ b/mysql-test/lib/My/Options.pm
@@ -153,7 +153,7 @@ sub is_set {
foreach my $set_opt (@$set_opts){
my ($opt_name2, $value2)= _split_option($set_opt);
- if ($opt_name1 eq $opt_name2){
+ if ($opt_name1 eq $opt_name2 and $value1 eq $value2){
# Option already set
return 1;
}