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
159d5c51
Commit
159d5c51
authored
Oct 04, 2007
by
acurtis/antony@xiphis.org/ltamd64.xiphis.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix undefined variable which can lead to crash
parent
3060f0be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
sql/sql_plugin.cc
sql/sql_plugin.cc
+3
-2
No files found.
sql/sql_plugin.cc
View file @
159d5c51
...
...
@@ -3053,7 +3053,7 @@ static int test_plugin_options(MEM_ROOT *tmp_root, struct st_plugin_int *tmp,
MEM_ROOT
*
mem_root
=
alloc_root_inited
(
&
tmp
->
mem_root
)
?
&
tmp
->
mem_root
:
&
plugin_mem_root
;
st_mysql_sys_var
**
opt
;
my_option
*
opts
;
my_option
*
opts
=
NULL
;
char
*
p
,
*
varname
;
int
error
;
st_mysql_sys_var
*
o
;
...
...
@@ -3153,7 +3153,8 @@ static int test_plugin_options(MEM_ROOT *tmp_root, struct st_plugin_int *tmp,
sql_print_information
(
"Plugin '%s' disabled by command line option"
,
tmp
->
name
.
str
);
err:
my_cleanup_options
(
opts
);
if
(
opts
)
my_cleanup_options
(
opts
);
DBUG_RETURN
(
error
);
}
...
...
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