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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
c6a38a25
Commit
c6a38a25
authored
Jul 25, 2003
by
gluh@gluh.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#909: mysqld --verbose --help != mysqld --help --verbose
Proposed fix for bug#909
parent
2e2ac59e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
sql/mysqld.cc
sql/mysqld.cc
+9
-9
No files found.
sql/mysqld.cc
View file @
c6a38a25
...
...
@@ -229,6 +229,7 @@ bool opt_large_files= sizeof(my_off_t) > 4;
/*
Used with --help for detailed option
*/
bool
opt_help
=
0
;
bool
opt_verbose
=
0
;
arg_cmp_func
Arg_comparator
::
comparator_matrix
[
4
][
2
]
=
...
...
@@ -3642,8 +3643,9 @@ Disable with --skip-bdb (will save memory).",
"Percentage of dirty pages allowed in bufferpool."
,
(
gptr
*
)
&
srv_max_buf_pool_modified_pct
,
(
gptr
*
)
&
srv_max_buf_pool_modified_pct
,
0
,
GET_ULONG
,
REQUIRED_ARG
,
90
,
0
,
100
,
0
,
0
,
0
},
#endif
/* End HAVE_INNOBASE_DB */
{
"help"
,
'?'
,
"Display this help and exit."
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"help"
,
'?'
,
"Display this help and exit."
,
(
gptr
*
)
&
opt_help
,
(
gptr
*
)
&
opt_help
,
0
,
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"verbose"
,
'v'
,
"Used with --help option for detailed help"
,
(
gptr
*
)
&
opt_verbose
,
(
gptr
*
)
&
opt_verbose
,
0
,
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
...
...
@@ -4882,16 +4884,9 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
break
;
#endif
#include <sslopt-case.h>
case
'v'
:
usage
();
exit
(
0
);
case
'V'
:
print_version
();
exit
(
0
);
case
'I'
:
case
'?'
:
usage
();
exit
(
0
);
case
'T'
:
test_flags
=
argument
?
(
uint
)
atoi
(
argument
)
:
0
;
test_flags
&=
~
TEST_NO_THREADS
;
...
...
@@ -5365,6 +5360,11 @@ static void get_options(int argc,char **argv)
exit
(
ho_error
);
}
if
(
opt_verbose
||
opt_help
)
{
usage
();
exit
(
0
);
}
#if defined(HAVE_BROKEN_REALPATH)
my_use_symdir
=
0
;
my_disable_symlinks
=
1
;
...
...
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