From 2f60292aa44e0009142bfb9a065b1fa313ec340c Mon Sep 17 00:00:00 2001 From: Elena Stepanova Date: Mon, 31 Mar 2014 18:04:05 +0400 Subject: [PATCH] Options option_name=0 in combination files were processed incorrectly --- mysql-test/lib/My/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql-test/lib/My/Config.pm b/mysql-test/lib/My/Config.pm index 1d8d1617fce..a343a0ef688 100644 --- a/mysql-test/lib/My/Config.pm +++ b/mysql-test/lib/My/Config.pm @@ -47,7 +47,7 @@ sub option { my $value= $self->{value}; my $opt= $name; - $opt= "$name=$value" if ($value); + $opt= "$name=$value" if (defined $value); $opt= "--$opt" unless ($opt =~ /^--/); return $opt; }