← Back to team overview

percona-discussion team mailing list archive

[Bug 331658] Re: Increase waited-at time precision

 

** Branch linked: lp:~percona-dev/percona-xtradb/bug-fix-331658

** Changed in: percona-xtradb
       Status: New => Fix Committed

** Changed in: percona-xtradb
     Assignee: (unassigned) => Yasufumi Kinoshita (yasufumi-kinoshita)

-- 
Increase waited-at time precision
https://bugs.launchpad.net/bugs/331658
You received this bug notification because you are a member of Percona
developers, which is the registrant for Percona patches.

Status in Patches for MySQL by Percona: New
Status in Percona XtraDB Storage Engine for MySQL: Fix Committed

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));



References