Simplify how Pingback handles MySQL instances. Remove Percona::Toolkit::slurp_file() because it was causing 'sub redefined' errors, probably due to PerconaTest::slurp_file(). Add more PTVCDEBUG statements.

This commit is contained in:
Daniel Nichter
2012-08-27 17:10:42 -06:00
parent a08bf4c4fc
commit 98338b6508
26 changed files with 2966 additions and 1005 deletions

View File

@@ -21,14 +21,6 @@
package Percona::Toolkit;
our $VERSION = '2.1.3';
sub slurp_file {
my ($file) = @_;
open my $fh, "<", $file or die "Cannot open $file: $!";
my $contents = do { local $/ = undef; <$fh> };
close $fh;
return $contents;
}
1;
}
# ###########################################################################