mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 13:11:32 +00:00
Explicit setter for interactive.
This commit is contained in:
@@ -145,11 +145,15 @@ sub set_sample_time {
|
||||
}
|
||||
|
||||
sub interactive {
|
||||
my ($self) = @_;
|
||||
return $self->{interactive};
|
||||
}
|
||||
|
||||
sub set_interactive {
|
||||
my ($self, $new_val) = @_;
|
||||
if (defined($new_val)) {
|
||||
$self->{interactive} = $new_val;
|
||||
}
|
||||
return $self->{interactive};
|
||||
}
|
||||
|
||||
# What this method does is thee-fold:
|
||||
|
Reference in New Issue
Block a user