mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-10-21 01:54:44 +00:00
Test and fix all the log --types. Add backwards-compat null_event arg to MySQLProtocolParser.
This commit is contained in:
@@ -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}++;
|
||||
|
||||
|
Reference in New Issue
Block a user