mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge branch '10.4' into 10.5
# Conflicts: # sql/sql_connect.cc
This commit is contained in:
@@ -1108,6 +1108,12 @@ static int check_connection(THD *thd)
|
||||
|
||||
void setup_connection_thread_globals(THD *thd)
|
||||
{
|
||||
DBUG_EXECUTE_IF("CONNECT_wait", {
|
||||
extern MYSQL_SOCKET unix_sock;
|
||||
DBUG_ASSERT(unix_sock.fd >= 0);
|
||||
while (unix_sock.fd >= 0)
|
||||
my_sleep(1000);
|
||||
});
|
||||
thd->store_globals();
|
||||
}
|
||||
|
||||
@@ -1359,14 +1365,6 @@ void do_handle_one_connection(CONNECT *connect, bool put_in_cache)
|
||||
return;
|
||||
}
|
||||
|
||||
DBUG_EXECUTE_IF("CONNECT_wait",
|
||||
{
|
||||
extern MYSQL_SOCKET unix_sock;
|
||||
DBUG_ASSERT(unix_sock.fd >= 0);
|
||||
while (unix_sock.fd >= 0)
|
||||
my_sleep(1000);
|
||||
});
|
||||
|
||||
/*
|
||||
If a thread was created to handle this connection:
|
||||
increment slow_launch_threads counter if it took more than
|
||||
|
Reference in New Issue
Block a user