mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.5 into 10.6
This commit is contained in:
@@ -304,7 +304,7 @@ static THD *threadpool_add_connection(CONNECT *connect, TP_connection *c)
|
||||
if (!mysys_var ||!(thd= connect->create_thd(NULL)))
|
||||
{
|
||||
/* Out of memory? */
|
||||
connect->close_and_delete();
|
||||
connect->close_and_delete(0);
|
||||
if (mysys_var)
|
||||
my_thread_end();
|
||||
return NULL;
|
||||
@@ -497,7 +497,7 @@ static void tp_add_connection(CONNECT *connect)
|
||||
if (c)
|
||||
pool->add(c);
|
||||
else
|
||||
connect->close_and_delete();
|
||||
connect->close_and_delete(0);
|
||||
}
|
||||
|
||||
int tp_get_idle_thread_count()
|
||||
|
Reference in New Issue
Block a user