pt-stalk fails when variable or threshold is non-integer
Bug #1335322 reported by
Frank Cizmich
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
Medium
|
Frank Cizmich |
Bug Description
command:
pt-stalk --variable=
output:
2014_06_27_17_36_14 Starting /usr/bin/pt-stalk --function=status --variable=
/usr/bin/pt-stalk: line 1254: [: 0.000: integer expression expected
/usr/bin/pt-stalk: line 1254: [: 0.000: integer expression expected
/usr/bin/pt-stalk: line 1254: [: 0.000: integer expression expected
Related branches
lp:~percona-toolkit-dev/percona-toolkit/pt-stalk-fails-when-variable-or-threshold-is-non-integer-1335322
- Percona Toolkit developers: Pending requested
-
Diff: 60 lines (+27/-2)3 files modifiedbin/pt-stalk (+1/-2)
t/pt-stalk/pt-stalk.t (+21/-0)
t/pt-stalk/samples/plugin003.sh (+5/-0)
description: | updated |
Changed in percona-toolkit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Bash doesn't handle floating point. Used awk instead.