1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

cleanup: don't use thd->set_current_time() directly

This commit is contained in:
Sergei Golubchik
2018-01-04 15:29:42 +01:00
committed by Aleksey Midenkov
parent d20d7a92c0
commit c92bf28b5f
5 changed files with 9 additions and 17 deletions

View File

@ -2938,7 +2938,7 @@ pthread_handler_t handle_delayed_insert(void *arg)
pthread_detach_this_thread();
/* Add thread to THD list so that's it's visible in 'show processlist' */
thd->set_current_time();
thd->set_start_time();
add_to_active_threads(thd);
if (abort_loop)
thd->set_killed(KILL_CONNECTION);