This commit is contained in:
Carlos Salguero
2017-12-04 11:44:11 -03:00
parent b4ac841421
commit 6a561bb913

View File

@@ -587,6 +587,14 @@ sub is_active {
return $self->{dbh} ? 1 : 0;
}
sub has_engine {
my ($self, $engine) = @_;
if (!$self->{dbh}) {
die "invalid dbh in has_engine method";
}
}
sub _d {
my ($package, undef, $line) = caller 0;
@_ = map { (my $temp = $_) =~ s/\n/\n# /g; $temp; }