~tsarev/percona-server/fix_bug_719386

Viewing all changes in revision 237.

  • Committer: Oleg Tsarev
  • Date: 2011-06-21 21:57:02 UTC
  • Revision ID: oleg.tsarev@percona.com-20110621215702-dc1x9436fcfuv993
Reason of bug #719386:
slow_extended.patch just enable slow query log, but doesn't touch start_time, start_utime and utime_after_lock variables.
This variables stored in THD instance, and touching just on start of stored procedure.
Now I update start_time, start_utime, utime_after_lock before every statement from SP (if log_slow_sp_statements enabled).
I also add test-case for this bug.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: