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
1b0d811d
Commit
1b0d811d
authored
Feb 23, 2016
by
Nirbhay Choubey
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '5.5-galera' into 10.0-galera
parents
0d58323e
3042d655
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
sql/wsrep_check_opts.cc
sql/wsrep_check_opts.cc
+14
-1
No files found.
sql/wsrep_check_opts.cc
View file @
1b0d811d
...
@@ -151,7 +151,20 @@ find_opts (argv_copy& a, struct opt* const opts)
...
@@ -151,7 +151,20 @@ find_opts (argv_copy& a, struct opt* const opts)
{
{
for
(
int
i
=
0
;
i
<
a
.
argc_
;
++
i
)
for
(
int
i
=
0
;
i
<
a
.
argc_
;
++
i
)
{
{
char
*
ptr
=
a
.
argv_
[
i
]
+
2
;
// we're interested only in long options
char
*
ptr
;
/*
We're interested only in long options, ensure that the arg is of
sufficient length.
*/
if
(
strlen
(
a
.
argv_
[
i
])
>
2
)
{
ptr
=
a
.
argv_
[
i
]
+
2
;
}
else
{
continue
;
}
struct
opt
*
opt
=
opts
;
struct
opt
*
opt
=
opts
;
for
(;
0
!=
opt
->
name
;
++
opt
)
for
(;
0
!=
opt
->
name
;
++
opt
)
...
...
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