Revert "Merge pull request #197 from percona/PT-115"

This reverts commit 0f5ce4cc0b, reversing
changes made to 515833f3d2.
This commit is contained in:
Carlos Salguero
2017-03-29 15:10:25 -03:00
parent 0f5ce4cc0b
commit c554e98926
26 changed files with 26 additions and 130 deletions

View File

@@ -1515,11 +1515,7 @@ sub _validate_type {
}
}
my $defaults = $self->{DSNParser}->parse_options($self);
if (!$opt->{attributes}->{repeatable}) {
$opt->{value} = $self->{DSNParser}->parse($val, $prev, $defaults);
} else {
push @{$opt->{value}}, $self->{DSNParser}->parse($val, $prev, $defaults);
}
$opt->{value} = $self->{DSNParser}->parse($val, $prev, $defaults);
}
elsif ( $val && $opt->{type} eq 'z' ) { # type size
PTDEBUG && _d('Parsing option', $opt->{long}, 'as a size value');