mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-13 22:50:25 +00:00
Several fixes & changes:
* qtime and stime computed correctly * Interactive mode and changing groups doesn't fail * Interactive mode no longer uses a file to gather samples.
This commit is contained in:
@@ -73,8 +73,6 @@ sub group_by {
|
||||
},
|
||||
rows_callback => $args{rows_callback},
|
||||
);
|
||||
|
||||
$self->{_iterations} = -1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -93,11 +91,6 @@ sub group_by {
|
||||
# where we started, so subsequent attempts (i.e. when
|
||||
# the file has more data) have greater chances of succeeding,
|
||||
# and no data goes unreported.
|
||||
if ($self->{_iterations} != -1 && defined($original_offset)
|
||||
&& eof($args{filehandle} || $args{data}) ) {
|
||||
$self->clear_state;
|
||||
seek( ($args{filehandle} || $args{data}), $original_offset, 0);
|
||||
}
|
||||
return $lines_read;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user