mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 13:40:07 +00:00
Change a _d() introduced in previous commits to possily avoid crashes
This commit is contained in:
@@ -2198,9 +2198,9 @@ sub _calc_misc_stats {
|
|||||||
- $delta_for->{ms_spent_doing_io} / $number_of_ios;
|
- $delta_for->{ms_spent_doing_io} / $number_of_ios;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
PTDEBUG && _d("IOS_IN_PROGRESS is [$delta_for->{ios_in_progress}], ",
|
PTDEBUG && _d("IOS_IN_PROGRESS is [", $delta_for->{ios_in_progress},
|
||||||
"and the number of ios is [$number_of_ios], going to ",
|
"], and the number of ios is [", $number_of_ios,
|
||||||
"use 0 as qtime.");
|
"], going to use 0 as qtime.");
|
||||||
$extra_stats{qtime} = 0;
|
$extra_stats{qtime} = 0;
|
||||||
}
|
}
|
||||||
$extra_stats{stime}
|
$extra_stats{stime}
|
||||||
|
@@ -824,9 +824,9 @@ sub _calc_misc_stats {
|
|||||||
- $delta_for->{ms_spent_doing_io} / $number_of_ios;
|
- $delta_for->{ms_spent_doing_io} / $number_of_ios;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
PTDEBUG && _d("IOS_IN_PROGRESS is [$delta_for->{ios_in_progress}], ",
|
PTDEBUG && _d("IOS_IN_PROGRESS is [", $delta_for->{ios_in_progress},
|
||||||
"and the number of ios is [$number_of_ios], going to ",
|
"], and the number of ios is [", $number_of_ios,
|
||||||
"use 0 as qtime.");
|
"], going to use 0 as qtime.");
|
||||||
$extra_stats{qtime} = 0;
|
$extra_stats{qtime} = 0;
|
||||||
}
|
}
|
||||||
$extra_stats{stime}
|
$extra_stats{stime}
|
||||||
|
Reference in New Issue
Block a user