1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

SQL: thd_start_utime() fix [fixes #284]

This commit is contained in:
Aleksey Midenkov
2017-10-17 17:20:46 +03:00
parent 8e193661d2
commit 17bd486f36
14 changed files with 27 additions and 14 deletions

View File

@ -4644,7 +4644,7 @@ extern "C" time_t thd_start_time(const MYSQL_THD thd)
of the current query. */
extern "C" unsigned long long thd_start_utime(const MYSQL_THD thd)
{
return thd->start_utime;
return thd->start_time * 1000000 + thd->start_time_sec_part;
}