~tsarev/percona-server/5.5.12-786645-slow_extended

Viewing all changes in revision 117.

  • Committer: Oleg Tsarev
  • Date: 2011-06-08 01:15:03 UTC
  • Revision ID: oleg.tsarev@percona.com-20110608011503-5p8owfux257rqxc4
The reason of bug #786645: patch slow_extended.patch adds option "log_slow_verbosity" with value "profiling_use_getrusage".
This option enable/disable call "getrusage", but doesn't check status when uses variable changed by "getrusage".
As result valgrind show warning "potential use of uninitialized value".
Now I check status before access to changed variables.
This is actual for tests:
 * main.profiling
 * main.show_profile

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: