summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorAleksey Midenkov <midenok@gmail.com>2017-10-17 17:20:46 +0300
committerAleksey Midenkov <midenok@gmail.com>2017-10-17 17:20:46 +0300
commit17bd486f361a150cb6e4c0320c1fa8e344beb76b (patch)
tree3d21baab4ac00cd11f64dd182fe7c55f31a38b4d /sql
parent8e193661d29494e14ff59e484020c51369f65aa4 (diff)
downloadmariadb-git-17bd486f361a150cb6e4c0320c1fa8e344beb76b.tar.gz
SQL: thd_start_utime() fix [fixes #284]
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_class.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc
index 4226da573cb..4a780812ec4 100644
--- a/sql/sql_class.cc
+++ b/sql/sql_class.cc
@@ -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;
}