mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-12-21 02:00:45 +08:00
WIP
This commit is contained in:
@@ -587,6 +587,14 @@ sub is_active {
|
|||||||
return $self->{dbh} ? 1 : 0;
|
return $self->{dbh} ? 1 : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub has_engine {
|
||||||
|
my ($self, $engine) = @_;
|
||||||
|
if (!$self->{dbh}) {
|
||||||
|
die "invalid dbh in has_engine method";
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
sub _d {
|
sub _d {
|
||||||
my ($package, undef, $line) = caller 0;
|
my ($package, undef, $line) = caller 0;
|
||||||
@_ = map { (my $temp = $_) =~ s/\n/\n# /g; $temp; }
|
@_ = map { (my $temp = $_) =~ s/\n/\n# /g; $temp; }
|
||||||
|
|||||||
Reference in New Issue
Block a user