Add lib/, t/lib/, and sandbox/. All modules are updated and passing on MySQL 5.1.

This commit is contained in:
Daniel Nichter
2011-06-24 11:22:06 -06:00
parent 01e0175ad9
commit 6c501128e6
567 changed files with 335952 additions and 0 deletions

19
t/lib/samples/log_splitter.pl Executable file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/env perl
use strict;
require '../LogSplitter.pm';
require '../SlowLogParser.pm';
my $lp = new SlowLogParser();
my $ls = new LogSplitter(
attribute => 'Thread_id',
saveto_dir => "/tmp/logettes/",
lp => $lp,
verbose => 1,
);
my @logs;
push @logs, split(',', $ARGV[0]) if @ARGV;
$ls->split_logs(\@logs);
exit;