-
Committer:
Oleg Tsarev
-
Date:
2011-06-08 21:16:21 UTC
-
mfrom:
(114.1.2 5.5.12-794350)
-
Revision ID:
oleg.tsarev@percona.com-20110608211621-em4xejif5b1op30z
The reason of bug #786645 and #794348: 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