mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 05:00:45 +00:00
Revert "Merge pull request #197 from percona/PT-115"
This reverts commit0f5ce4cc0b
, reversing changes made to515833f3d2
.
This commit is contained in:
@@ -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');
|
||||
|
Reference in New Issue
Block a user