Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
80cf7a4c
Commit
80cf7a4c
authored
Sep 07, 2022
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '10.4' into 10.5
# Conflicts: # sql/sql_connect.cc
parents
dd092bc6
9a8faeea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
16 deletions
+6
-16
sql/sql_connect.cc
sql/sql_connect.cc
+6
-8
sql/threadpool_common.cc
sql/threadpool_common.cc
+0
-8
No files found.
sql/sql_connect.cc
View file @
80cf7a4c
...
...
@@ -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
...
...
sql/threadpool_common.cc
View file @
80cf7a4c
...
...
@@ -224,14 +224,6 @@ static THD* threadpool_add_connection(CONNECT *connect, void *scheduler_data)
{
THD
*
thd
=
NULL
;
DBUG_EXECUTE_IF
(
"CONNECT_wait"
,
{
extern
MYSQL_SOCKET
unix_sock
;
DBUG_ASSERT
(
unix_sock
.
fd
>=
0
);
while
(
unix_sock
.
fd
>=
0
)
my_sleep
(
1000
);
});
/*
Create a new connection context: mysys_thread_var and PSI thread
Store them in THD.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment