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
91673114
Commit
91673114
authored
Apr 29, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compilation error
parent
b6965ac3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
include/mysql/plugin.h
include/mysql/plugin.h
+1
-1
sql/sql_plugin.cc
sql/sql_plugin.cc
+3
-5
No files found.
include/mysql/plugin.h
View file @
91673114
...
...
@@ -657,7 +657,7 @@ char *thd_security_context(MYSQL_THD thd, char *buffer, unsigned int length,
#ifdef __cplusplus
}
;
}
#endif
#endif
...
...
sql/sql_plugin.cc
View file @
91673114
...
...
@@ -1151,10 +1151,8 @@ int plugin_init(int *argc, char **argv, int flags)
if
(
is_myisam
)
{
DBUG_ASSERT
(
!
global_system_variables
.
table_plugin
);
global_system_variables
.
table_plugin
=
(
plugin_ref
)
my_malloc
(
sizeof
(
plugin_ptr
),
MYF
(
MY_WME
|
MY_FAE
));
global_system_variables
.
table_plugin
[
0
]
=
plugin_ptr
;
plugin_ptr
->
ref_count
++
;
global_system_variables
.
table_plugin
=
my_intern_plugin_lock
(
NULL
,
plugin_int_to_ref
(
plugin_ptr
));
DBUG_ASSERT
(
plugin_ptr
->
ref_count
==
1
);
}
}
...
...
@@ -1436,7 +1434,7 @@ static bool plugin_load_list(MEM_ROOT *tmp_root, int *argc, char **argv,
void
plugin_shutdown
(
void
)
{
uint
i
,
count
=
plugin_array
.
elements
,
free_slots
;
uint
i
,
count
=
plugin_array
.
elements
,
free_slots
=
0
;
struct
st_plugin_int
**
plugins
,
*
plugin
;
struct
st_plugin_dl
**
dl
;
DBUG_ENTER
(
"plugin_shutdown"
);
...
...
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