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

@@ -42,7 +42,7 @@ has 'file_iter' => (
has 'parser' => (
is => 'ro',
isa => 'Object',
isa => 'CodeRef',
required => 1,
);
@@ -193,7 +193,7 @@ sub next {
EVENT:
while (
$self->oktorun
&& (my $event = $self->parser->parse_event(%{ $self->_parser_args }) )
&& (my $event = $self->parser->(%{ $self->_parser_args }) )
) {
$self->stats->{queries_read}++;