mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Polishing:
1) add support for joinable threads to Thread class; 2) move checking of thread model to Manager from mysqlmanager.cc, because it is needed only for IM-main process.
This commit is contained in:
@ -323,7 +323,7 @@ void Listener::handle_new_mysql_connection(struct st_vio *vio)
|
||||
Mysql_connection *mysql_connection=
|
||||
new Mysql_connection(thread_registry, user_map,
|
||||
vio, ++total_connection_count);
|
||||
if (mysql_connection == NULL || mysql_connection->start_detached())
|
||||
if (mysql_connection == NULL || mysql_connection->start(Thread::DETACHED))
|
||||
{
|
||||
log_error("handle_one_mysql_connection() failed");
|
||||
delete mysql_connection;
|
||||
|
Reference in New Issue
Block a user