Test and fix all the log --types. Add backwards-compat null_event arg to MySQLProtocolParser.

This commit is contained in:
Daniel Nichter
2013-03-11 16:13:38 -06:00
parent f00d53adc3
commit 3c07da8499
8 changed files with 610 additions and 35 deletions

View File

@@ -6655,9 +6655,6 @@ sub main {
# just tweak the code below to be like pt-query-digest.
my %alias_for = (
slowlog => ['SlowLogParser'],
# binlog => ['BinaryLogParser'],
# genlog => ['GeneralLogParser'],
# tcpdump => ['TcpdumpParser','MySQLProtocolParser'],
);
my $type = ['slowlog'];
$type = $alias_for{$type->[0]} if $alias_for{$type->[0]};