1
0
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:
Marko Mäkelä
2024-10-03 09:31:39 +03:00
482 changed files with 4427 additions and 623 deletions

View File

@@ -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()