pt-stalk prints the wrong variable name in verbose mode when --function is used

Bug #1156867 reported by Fernando Ipar on 2013-03-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to
Fix Released
Brian Fraser

Bug Description

If --function is used, Threads_running is printed as the variable being checked:

root@raspberrypi:/home/pi# ./pt-stalk --function trg_running_time --threshold 10 --verbose 3
2013_03_18_21_44_38 Starting ./pt-stalk --function=trg_running_time --variable=Threads_running --threshold=10 --match= --cycles=5 --interval=1 --iterations= --run-time=30 --sleep=300 --dest=/var/lib/pt-stalk --prefix= --notify-by-email= --log=/var/log/pt-stalk.log --pid=/var/run/ --plugin=
2013_03_18_21_44_38 Check results: Threads_running=0, matched=no, cycles_true=0

tags: added: pt-stalk wrong-output
Changed in percona-toolkit:
status: New → Confirmed
milestone: none → 2.2.2
Changed in percona-toolkit:
assignee: nobody → Brian Fraser (fraserbn)
importance: Undecided → Low
Brian Fraser (fraserbn) on 2013-04-17
Changed in percona-toolkit:
status: Confirmed → Fix Committed
Changed in percona-toolkit:
status: Fix Committed → Fix Released

Percona now uses JIRA for bug reports so this bug report is migrated to:

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers