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