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
f8b40154
Commit
f8b40154
authored
Sep 29, 2016
by
Sergei Golubchik
Committed by
Nirbhay Choubey
Nov 07, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init plugin psi keys before LOCK_plugin
parent
491f42d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
sql/sql_plugin.cc
sql/sql_plugin.cc
+3
-4
No files found.
sql/sql_plugin.cc
View file @
f8b40154
...
...
@@ -1543,10 +1543,6 @@ int plugin_init(int *argc, char **argv, int flags)
dlopen_count
=
0
;
#ifdef HAVE_PSI_INTERFACE
init_plugin_psi_keys
();
#endif
init_alloc_root
(
&
plugin_mem_root
,
4096
,
4096
,
MYF
(
0
));
init_alloc_root
(
&
plugin_vars_mem_root
,
4096
,
4096
,
MYF
(
0
));
init_alloc_root
(
&
tmp_root
,
4096
,
4096
,
MYF
(
0
));
...
...
@@ -4288,6 +4284,9 @@ int thd_setspecific(MYSQL_THD thd, MYSQL_THD_KEY_T key, void *value)
void
plugin_mutex_init
()
{
#ifdef HAVE_PSI_INTERFACE
init_plugin_psi_keys
();
#endif
mysql_mutex_init
(
key_LOCK_plugin
,
&
LOCK_plugin
,
MY_MUTEX_INIT_FAST
);
}
...
...
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