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
255187b2
Commit
255187b2
authored
Sep 24, 2010
by
Michael Widenius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysqld: Move --skip-new to --safe and remove old usage of --skip-new
parent
bdba1d11
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
11 deletions
+4
-11
sql/mysqld.cc
sql/mysqld.cc
+4
-11
No files found.
sql/mysqld.cc
View file @
255187b2
...
...
@@ -5828,7 +5828,7 @@ error:
enum
options_mysqld
{
OPT_ISAM_LOG
=
256
,
OPT_SKIP_NEW
,
OPT_ISAM_LOG
=
256
,
OPT_SKIP_GRANT
,
OPT_SKIP_LOCK
,
OPT_ENABLE_LOCK
,
OPT_USE_LOCKING
,
OPT_SOCKET
,
OPT_UPDATE_LOG
,
...
...
@@ -6799,8 +6799,6 @@ thread is in the relay logs.",
{
"skip-networking"
,
OPT_SKIP_NETWORKING
,
"Don't allow connection with TCP/IP."
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"skip-new"
,
OPT_SKIP_NEW
,
"Don't use new, possibly wrong routines."
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
#ifndef DBUG_OFF
#ifdef SAFEMALLOC
{
"skip-safemalloc"
,
OPT_SKIP_SAFEMALLOC
,
...
...
@@ -8722,20 +8720,15 @@ mysqld_get_one_option(int optid,
return
1
;
#endif
break
;
case
(
int
)
OPT_S
KIP_NEW
:
opt_specialflag
|=
SPECIAL_NO_NEW_FUNC
;
case
(
int
)
OPT_S
AFE
:
opt_specialflag
|=
SPECIAL_
SAFE_MODE
|
SPECIAL_
NO_NEW_FUNC
;
delay_key_write_options
=
(
uint
)
DELAY_KEY_WRITE_NONE
;
myisam_recover_options
=
HA_RECOVER_DEFAULT
;
ha_open_options
&=
~
(
HA_OPEN_DELAY_KEY_WRITE
);
#ifdef HAVE_QUERY_CACHE
query_cache_size
=
0
;
#endif
break
;
case
(
int
)
OPT_SAFE
:
opt_specialflag
|=
SPECIAL_SAFE_MODE
;
delay_key_write_options
=
(
uint
)
DELAY_KEY_WRITE_NONE
;
myisam_recover_options
=
HA_RECOVER_DEFAULT
;
ha_open_options
&=
~
(
HA_OPEN_DELAY_KEY_WRITE
);
break
;
case
(
int
)
OPT_SKIP_PRIOR
:
opt_specialflag
|=
SPECIAL_NO_PRIOR
;
sql_print_warning
(
"The --skip-thread-priority startup option is deprecated "
...
...
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