summaryrefslogtreecommitdiff
path: root/sql/scheduler.h
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2019-05-19 02:10:40 +0400
committerSergey Vojtovich <svoj@mariadb.org>2019-05-21 17:55:09 +0400
commitebc55c8577be7b8b8c3d9433feb4ce457f5b6cc5 (patch)
treeaa39a653cebe6509fdd00d21dc16098469d6d102 /sql/scheduler.h
parent6900aaf417c6540a22ab74c6badaf42cd37e43e1 (diff)
downloadmariadb-git-ebc55c8577be7b8b8c3d9433feb4ce457f5b6cc5.tar.gz
Simplified away scheduler_functions::end_thread()
Code properly integrated into callers instead. do_handle_one_connection(): no need to reset thd and thd->thread_stack as they're not updated by cache_thread(). Part of MDEV-19515 - Improve connect speed
Diffstat (limited to 'sql/scheduler.h')
-rw-r--r--sql/scheduler.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/scheduler.h b/sql/scheduler.h
index 12d54f74c4e..e77d6b5e80c 100644
--- a/sql/scheduler.h
+++ b/sql/scheduler.h
@@ -38,7 +38,6 @@ struct scheduler_functions
void (*thd_wait_begin)(THD *thd, int wait_type);
void (*thd_wait_end)(THD *thd);
void (*post_kill_notification)(THD *thd);
- bool (*end_thread)(THD *thd, bool cache_thread);
void (*end)(void);
};