mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-22 11:54:54 +00:00
Fix for 923896
This commit is contained in:
@@ -2177,6 +2177,7 @@ sub find {
|
||||
}
|
||||
|
||||
if ( $find_spec{busy_time} && ($query->{Command} || '') eq 'Query' ) {
|
||||
next QUERY unless defined $query->{Time};
|
||||
if ( $query->{Time} < $find_spec{busy_time} ) {
|
||||
PTDEBUG && _d("Query isn't running long enough");
|
||||
next QUERY;
|
||||
@@ -2186,6 +2187,7 @@ sub find {
|
||||
}
|
||||
|
||||
if ( $find_spec{idle_time} && ($query->{Command} || '') eq 'Sleep' ) {
|
||||
next QUERY unless defined $query->{Time};
|
||||
if ( $query->{Time} < $find_spec{idle_time} ) {
|
||||
PTDEBUG && _d("Query isn't idle long enough");
|
||||
next QUERY;
|
||||
|
Reference in New Issue
Block a user