Increase waited-at time precision

Bug #331658 reported by Baron Schwartz
2
Affects Status Importance Assigned to Milestone
Percona patches
Fix Released
High
Unassigned
Percona-XtraDB
Fix Released
High
Unassigned

Bug Description

Can we increase the precision here from %.2f to something more like %.6f or even more? This is in innobase./sync/sync0arr.c:

   fprintf(file,
"--Thread %lu has waited at %s line %lu for %.2f seconds the semaphore:\n",
         (ulong) os_thread_pf(cell->thread), cell->file,
             (ulong) cell->line,
             difftime(time(NULL), cell->reservation_time));

Changed in percona-patches:
importance: Undecided → High
Changed in percona-xtradb:
importance: Undecided → High
Changed in percona-xtradb:
assignee: nobody → yasufumi-kinoshita
status: New → Fix Committed
Changed in percona-xtradb:
status: Fix Committed → Fix Released
Changed in percona-patches:
status: New → Confirmed
assignee: nobody → Yasufumi Kinoshita (yasufumi-kinoshita)
Revision history for this message
Yasufumi Kinoshita (yasufumi-kinoshita) wrote :

Fixed at newest 5.1.42 branch

Changed in percona-patches:
status: Confirmed → Fix Committed
Revision history for this message
Stewart Smith (stewart) wrote :

assuming released with 5.1.42

Changed in percona-patches:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.