Fixed bug in generation of execution time in report
This commit is contained in:
parent
8103ac6052
commit
70ba1f028a
@ -333,9 +333,8 @@ FILE *fp;
|
||||
if (my_session->top[i]->sql)
|
||||
{
|
||||
fprintf(fp, "%.3f, %s\n",
|
||||
(double)((my_session->top[i]->duration.tv_sec * 1000)
|
||||
+ (my_session->top[i]->duration.tv_usec / 1000) / 1000
|
||||
),
|
||||
(double)((my_session->top[i]->duration.tv_sec * 1000)
|
||||
+ (my_session->top[i]->duration.tv_usec / 1000)) / 1000,
|
||||
my_session->top[i]->sql);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user