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
b56f9fbe
Commit
b56f9fbe
authored
Jan 30, 2018
by
Daniel Black
Committed by
Vladislav Vaintroub
Jan 31, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
threadpool: release mutex on io_poll_create failure
Also use the group pointer previously allocated.
parent
67d89e4d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
sql/threadpool_generic.cc
sql/threadpool_generic.cc
+1
-2
No files found.
sql/threadpool_generic.cc
View file @
b56f9fbe
...
...
@@ -1698,10 +1698,9 @@ int TP_pool_generic::set_pool_size(uint size)
if
(
!
success
)
{
sql_print_error
(
"io_poll_create() failed, errno=%d
\n
"
,
errno
);
break
;
}
}
mysql_mutex_unlock
(
&
all_groups
[
i
].
mutex
);
mysql_mutex_unlock
(
&
group
->
mutex
);
if
(
!
success
)
{
group_count
=
i
;
...
...
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