diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2017-10-17 17:20:46 +0300 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2017-10-17 17:20:46 +0300 |
commit | 17bd486f361a150cb6e4c0320c1fa8e344beb76b (patch) | |
tree | 3d21baab4ac00cd11f64dd182fe7c55f31a38b4d /sql/sql_class.cc | |
parent | 8e193661d29494e14ff59e484020c51369f65aa4 (diff) | |
download | mariadb-git-17bd486f361a150cb6e4c0320c1fa8e344beb76b.tar.gz |
SQL: thd_start_utime() fix [fixes #284]
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r-- | sql/sql_class.cc | 2 |
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; } |