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
7d63f216
Commit
7d63f216
authored
Sep 07, 2022
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '10.5' into 10.6
# Conflicts: # sql/sql_connect.cc # sql/threadpool_common.cc
parents
bacaf2d4
80cf7a4c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
17 deletions
+7
-17
debian/autobake-deb.sh
debian/autobake-deb.sh
+1
-1
sql/sql_connect.cc
sql/sql_connect.cc
+6
-8
sql/threadpool_common.cc
sql/threadpool_common.cc
+0
-8
No files found.
debian/autobake-deb.sh
View file @
7d63f216
...
...
@@ -116,7 +116,7 @@ case "${LSBNAME}" in
focal
)
replace_uring_with_aio
;
&
impish|jammy
)
impish|jammy
|kinetic
)
# mariadb-plugin-rocksdb s390x not supported by us (yet)
# ubuntu doesn't support mips64el yet, so keep this just
# in case something changes.
...
...
sql/sql_connect.cc
View file @
7d63f216
...
...
@@ -1108,6 +1108,12 @@ static int check_connection(THD *thd)
void
setup_connection_thread_globals
(
THD
*
thd
)
{
DBUG_EXECUTE_IF
(
"CONNECT_wait"
,
{
extern
Dynamic_array
<
MYSQL_SOCKET
>
listen_sockets
;
DBUG_ASSERT
(
listen_sockets
.
size
());
while
(
listen_sockets
.
size
())
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
Dynamic_array
<
MYSQL_SOCKET
>
listen_sockets
;
DBUG_ASSERT
(
listen_sockets
.
size
());
while
(
listen_sockets
.
size
())
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 @
7d63f216
...
...
@@ -250,14 +250,6 @@ static THD *threadpool_add_connection(CONNECT *connect, TP_connection *c)
{
THD
*
thd
=
NULL
;
DBUG_EXECUTE_IF
(
"CONNECT_wait"
,
{
extern
Dynamic_array
<
MYSQL_SOCKET
>
listen_sockets
;
DBUG_ASSERT
(
listen_sockets
.
size
());
while
(
listen_sockets
.
size
())
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