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
6145e167
Commit
6145e167
authored
Aug 03, 2014
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused OPT_xxx values from mysqld.cc and the related dead code
parent
0661c732
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
21 deletions
+1
-21
sql/mysqld.cc
sql/mysqld.cc
+1
-13
sql/mysqld.h
sql/mysqld.h
+0
-8
No files found.
sql/mysqld.cc
View file @
6145e167
...
...
@@ -6727,7 +6727,7 @@ struct my_option my_long_options[]=
{
"autocommit"
,
0
,
"Set default value for autocommit (0 or 1)"
,
&
opt_autocommit
,
&
opt_autocommit
,
0
,
GET_BOOL
,
OPT_ARG
,
1
,
0
,
0
,
0
,
0
,
NULL
},
{
"bind-address"
,
OPT_BIND_ADDRESS
,
"IP address to bind to."
,
{
"bind-address"
,
0
,
"IP address to bind to."
,
&
my_bind_addr_str
,
&
my_bind_addr_str
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"binlog-do-db"
,
OPT_BINLOG_DO_DB
,
...
...
@@ -8561,18 +8561,6 @@ mysqld_get_one_option(int optid,
}
break
;
#endif
/* defined(ENABLED_DEBUG_SYNC) */
case
OPT_ENGINE_CONDITION_PUSHDOWN
:
/*
The last of --engine-condition-pushdown and --optimizer_switch on
command line wins (see get_options().
*/
if
(
global_system_variables
.
engine_condition_pushdown
)
global_system_variables
.
optimizer_switch
|=
OPTIMIZER_SWITCH_ENGINE_CONDITION_PUSHDOWN
;
else
global_system_variables
.
optimizer_switch
&=
~
OPTIMIZER_SWITCH_ENGINE_CONDITION_PUSHDOWN
;
break
;
case
OPT_LOG_ERROR
:
/*
"No --log-error" == "write errors to stderr",
...
...
sql/mysqld.h
View file @
6145e167
...
...
@@ -550,7 +550,6 @@ extern MYSQL_PLUGIN_IMPORT pthread_key(THD*, THR_THD);
enum
options_mysqld
{
OPT_to_set_the_start_number
=
256
,
OPT_BIND_ADDRESS
,
OPT_BINLOG_DO_DB
,
OPT_BINLOG_FORMAT
,
OPT_BINLOG_IGNORE_DB
,
...
...
@@ -558,9 +557,7 @@ enum options_mysqld
OPT_BOOTSTRAP
,
OPT_CONSOLE
,
OPT_DEBUG_SYNC_TIMEOUT
,
OPT_DELAY_KEY_WRITE_ALL
,
OPT_DEPRECATED_OPTION
,
OPT_ENGINE_CONDITION_PUSHDOWN
,
OPT_IGNORE_DB_DIRECTORY
,
OPT_ISAM_LOG
,
OPT_KEY_BUFFER_SIZE
,
...
...
@@ -576,7 +573,6 @@ enum options_mysqld
OPT_PLUGIN_LOAD
,
OPT_PLUGIN_LOAD_ADD
,
OPT_PFS_INSTRUMENT
,
OPT_POOL_OF_THREADS
,
OPT_REPLICATE_DO_DB
,
OPT_REPLICATE_DO_TABLE
,
OPT_REPLICATE_IGNORE_DB
,
...
...
@@ -587,10 +583,7 @@ enum options_mysqld
OPT_SAFE
,
OPT_SERVER_ID
,
OPT_SKIP_HOST_CACHE
,
OPT_SKIP_LOCK
,
OPT_SKIP_RESOLVE
,
OPT_SKIP_STACK_TRACE
,
OPT_SKIP_SYMLINKS
,
OPT_SSL_CA
,
OPT_SSL_CAPATH
,
OPT_SSL_CERT
,
...
...
@@ -598,7 +591,6 @@ enum options_mysqld
OPT_SSL_CRL
,
OPT_SSL_CRLPATH
,
OPT_SSL_KEY
,
OPT_UPDATE_LOG
,
OPT_WANT_CORE
,
OPT_MYSQL_COMPATIBILITY
,
OPT_MYSQL_TO_BE_IMPLEMENTED
,
...
...
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