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
8bee3ea7
Commit
8bee3ea7
authored
Jul 18, 2003
by
gluh@gluh.mysql.r18.ru
Browse files
Options
Browse Files
Download
Plain Diff
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1
into gluh.mysql.r18.ru:/home/gluh/mysql-4.1.DTFUNC
parents
ccece982
0b7f817f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
sql/mysqld.cc
sql/mysqld.cc
+17
-3
No files found.
sql/mysqld.cc
View file @
8bee3ea7
...
@@ -225,6 +225,12 @@ const char *localhost= "localhost", *delayed_user= "DELAYED";
...
@@ -225,6 +225,12 @@ const char *localhost= "localhost", *delayed_user= "DELAYED";
#endif
#endif
bool
opt_large_files
=
sizeof
(
my_off_t
)
>
4
;
bool
opt_large_files
=
sizeof
(
my_off_t
)
>
4
;
/*
Used with --help for detailed option
*/
bool
opt_verbose
=
0
;
arg_cmp_func
Arg_comparator
::
comparator_matrix
[
4
][
2
]
=
arg_cmp_func
Arg_comparator
::
comparator_matrix
[
4
][
2
]
=
{{
&
Arg_comparator
::
compare_string
,
&
Arg_comparator
::
compare_e_string
},
{{
&
Arg_comparator
::
compare_string
,
&
Arg_comparator
::
compare_e_string
},
{
&
Arg_comparator
::
compare_real
,
&
Arg_comparator
::
compare_e_real
},
{
&
Arg_comparator
::
compare_real
,
&
Arg_comparator
::
compare_e_real
},
...
@@ -3638,6 +3644,9 @@ Disable with --skip-bdb (will save memory).",
...
@@ -3638,6 +3644,9 @@ Disable with --skip-bdb (will save memory).",
#endif
/* End HAVE_INNOBASE_DB */
#endif
/* End HAVE_INNOBASE_DB */
{
"help"
,
'?'
,
"Display this help and exit."
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
{
"help"
,
'?'
,
"Display this help and exit."
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
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
},
{
"init-file"
,
OPT_INIT_FILE
,
"Read SQL commands from this file at startup."
,
{
"init-file"
,
OPT_INIT_FILE
,
"Read SQL commands from this file at startup."
,
(
gptr
*
)
&
opt_init_file
,
(
gptr
*
)
&
opt_init_file
,
0
,
GET_STR
,
REQUIRED_ARG
,
(
gptr
*
)
&
opt_init_file
,
(
gptr
*
)
&
opt_init_file
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
0
,
0
,
0
,
0
,
0
,
0
},
...
@@ -3973,8 +3982,6 @@ replicating a LOAD DATA INFILE command.",
...
@@ -3973,8 +3982,6 @@ replicating a LOAD DATA INFILE command.",
0
,
0
,
0
,
0
,
0
,
0
},
0
,
0
,
0
,
0
,
0
,
0
},
{
"version"
,
'V'
,
"Output version information and exit."
,
0
,
0
,
0
,
GET_NO_ARG
,
{
"version"
,
'V'
,
"Output version information and exit."
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"version"
,
'v'
,
"Synonym for option -V."
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"log-warnings"
,
'W'
,
"Log some not critical warnings to the log file."
,
{
"log-warnings"
,
'W'
,
"Log some not critical warnings to the log file."
,
(
gptr
*
)
&
global_system_variables
.
log_warnings
,
(
gptr
*
)
&
global_system_variables
.
log_warnings
,
(
gptr
*
)
&
max_system_variables
.
log_warnings
,
0
,
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
(
gptr
*
)
&
max_system_variables
.
log_warnings
,
0
,
GET_BOOL
,
NO_ARG
,
0
,
0
,
0
,
...
@@ -4573,6 +4580,10 @@ and you are welcome to modify and redistribute it under the GPL license\n\
...
@@ -4573,6 +4580,10 @@ and you are welcome to modify and redistribute it under the GPL license\n\
Starts the MySQL server
\n
"
);
Starts the MySQL server
\n
"
);
printf
(
"Usage: %s [OPTIONS]
\n
"
,
my_progname
);
printf
(
"Usage: %s [OPTIONS]
\n
"
,
my_progname
);
if
(
!
opt_verbose
)
puts
(
"
\n
For more help options (several pages), use mysqld --verbose --help
\n
"
);
else
{
#ifdef __WIN__
#ifdef __WIN__
puts
(
"NT and Win32 specific options:
\n
\
puts
(
"NT and Win32 specific options:
\n
\
--install Install the default service (NT)
\n
\
--install Install the default service (NT)
\n
\
...
@@ -4596,7 +4607,8 @@ Starts the MySQL server\n");
...
@@ -4596,7 +4607,8 @@ Starts the MySQL server\n");
puts
(
"
\n
\
puts
(
"
\n
\
To see what values a running MySQL server is using, type
\n
\
To see what values a running MySQL server is using, type
\n
\
'mysqladmin variables' instead of 'mysqld --help'."
);
'mysqladmin variables' instead of 'mysqld --verbose --help'.
\n
"
);
}
}
}
...
@@ -4871,6 +4883,8 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
...
@@ -4871,6 +4883,8 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
#endif
#endif
#include <sslopt-case.h>
#include <sslopt-case.h>
case
'v'
:
case
'v'
:
usage
();
exit
(
0
);
case
'V'
:
case
'V'
:
print_version
();
print_version
();
exit
(
0
);
exit
(
0
);
...
...
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