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
450a6385
Commit
450a6385
authored
Mar 28, 2008
by
gkodinov/kgeorge@macbook.gmz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed a hand in 5.1-marvel :
Removed a double release of the mutex on error
parent
090d1396
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
sql/sql_plugin.cc
sql/sql_plugin.cc
+0
-5
No files found.
sql/sql_plugin.cc
View file @
450a6385
...
@@ -1446,8 +1446,6 @@ static bool plugin_load_list(MEM_ROOT *tmp_root, int *argc, char **argv,
...
@@ -1446,8 +1446,6 @@ static bool plugin_load_list(MEM_ROOT *tmp_root, int *argc, char **argv,
free_root
(
tmp_root
,
MYF
(
MY_MARK_BLOCKS_FREE
));
free_root
(
tmp_root
,
MYF
(
MY_MARK_BLOCKS_FREE
));
if
(
plugin_add
(
tmp_root
,
&
name
,
&
dl
,
argc
,
argv
,
REPORT_TO_LOG
))
if
(
plugin_add
(
tmp_root
,
&
name
,
&
dl
,
argc
,
argv
,
REPORT_TO_LOG
))
{
pthread_mutex_unlock
(
&
LOCK_plugin
);
goto
error
;
goto
error
;
}
}
}
}
...
@@ -1459,11 +1457,8 @@ static bool plugin_load_list(MEM_ROOT *tmp_root, int *argc, char **argv,
...
@@ -1459,11 +1457,8 @@ static bool plugin_load_list(MEM_ROOT *tmp_root, int *argc, char **argv,
free_root
(
tmp_root
,
MYF
(
MY_MARK_BLOCKS_FREE
));
free_root
(
tmp_root
,
MYF
(
MY_MARK_BLOCKS_FREE
));
pthread_mutex_lock
(
&
LOCK_plugin
);
pthread_mutex_lock
(
&
LOCK_plugin
);
if
(
plugin_add
(
tmp_root
,
&
name
,
&
dl
,
argc
,
argv
,
REPORT_TO_LOG
))
if
(
plugin_add
(
tmp_root
,
&
name
,
&
dl
,
argc
,
argv
,
REPORT_TO_LOG
))
{
pthread_mutex_unlock
(
&
LOCK_plugin
);
goto
error
;
goto
error
;
}
}
}
pthread_mutex_unlock
(
&
LOCK_plugin
);
pthread_mutex_unlock
(
&
LOCK_plugin
);
name
.
length
=
dl
.
length
=
0
;
name
.
length
=
dl
.
length
=
0
;
dl
.
str
=
NULL
;
name
.
str
=
p
=
buffer
;
dl
.
str
=
NULL
;
name
.
str
=
p
=
buffer
;
...
...
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