diff options
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r-- | sql/sql_insert.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index 14f4a732eac..50e4a6dedd4 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -871,6 +871,7 @@ static pthread_handler_decl(handle_delayed_insert,arg) /* Add thread to THD list so that's it's visible in 'show processlist' */ pthread_mutex_lock(&LOCK_thread_count); thd->thread_id=thread_id++; + thd->end_time(); threads.append(thd); pthread_mutex_unlock(&LOCK_thread_count); |