summaryrefslogtreecommitdiff
path: root/sql/sql_connect.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/sql_connect.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/sql_connect.h')
-rw-r--r--sql/sql_connect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_connect.h b/sql/sql_connect.h
index 8b574bcf385..544270189db 100644
--- a/sql/sql_connect.h
+++ b/sql/sql_connect.h
@@ -73,7 +73,7 @@ void free_global_index_stats(void);
void free_global_client_stats(void);
pthread_handler_t handle_one_connection(void *arg);
-void do_handle_one_connection(CONNECT *connect);
+void do_handle_one_connection(CONNECT *connect, bool put_in_cache);
bool init_new_connection_handler_thread();
void reset_mqh(LEX_USER *lu, bool get_them);
bool check_mqh(THD *thd, uint check_command);