diff options
-rw-r--r-- | sql/sql_show.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc index b0773d27655..802c4195d8e 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -2460,7 +2460,7 @@ void mysqld_list_processes(THD *thd,const char *user, bool verbose) else protocol->store(command_name[thd_info->command].str, system_charset_info); if (thd_info->start_time && now > thd_info->start_time) - protocol->store_long(now - thd_info->start_time); + protocol->store_long((now - thd_info->start_time) / HRTIME_RESOLUTION); else protocol->store_null(); protocol->store(thd_info->state_info, system_charset_info); |