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
889ce031
Commit
889ce031
authored
May 23, 2012
by
Norvald H. Ryeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL#6311 Remove --safe-mode
Print deprecation warning if the --safe-mode command line option is used.
parent
be7a6d93
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
mysql-test/r/mysqld--help-notwin.result
mysql-test/r/mysqld--help-notwin.result
+1
-1
mysql-test/r/mysqld--help-win.result
mysql-test/r/mysqld--help-win.result
+1
-1
sql/mysqld.cc
sql/mysqld.cc
+3
-1
No files found.
mysql-test/r/mysqld--help-notwin.result
View file @
889ce031
...
...
@@ -595,7 +595,7 @@ The following options may be given as the first argument:
master during slave registration
--rpl-recovery-rank=#
Unused, will be removed
--safe-mode Skip some optimize stages (for testing).
--safe-mode Skip some optimize stages (for testing).
Deprecated.
--safe-user-create Don't allow new user creation by the user who has no
write privileges to the mysql.user table.
--secure-auth Disallow authentication for accounts that have old
...
...
mysql-test/r/mysqld--help-win.result
View file @
889ce031
...
...
@@ -595,7 +595,7 @@ The following options may be given as the first argument:
master during slave registration
--rpl-recovery-rank=#
Unused, will be removed
--safe-mode Skip some optimize stages (for testing).
--safe-mode Skip some optimize stages (for testing).
Deprecated.
--safe-user-create Don't allow new user creation by the user who has no
write privileges to the mysql.user table.
--secure-auth Disallow authentication for accounts that have old
...
...
sql/mysqld.cc
View file @
889ce031
...
...
@@ -5948,7 +5948,7 @@ struct my_option my_long_options[]=
"will not do updates to tables in databases that start with foo and whose "
"table names start with bar."
,
0
,
0
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"safe-mode"
,
OPT_SAFE
,
"Skip some optimize stages (for testing)."
,
{
"safe-mode"
,
OPT_SAFE
,
"Skip some optimize stages (for testing).
Deprecated.
"
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"safe-user-create"
,
0
,
"Don't allow new user creation by the user who has no write privileges to the mysql.user table."
,
...
...
@@ -7081,6 +7081,8 @@ mysqld_get_one_option(int optid,
delay_key_write_options
=
DELAY_KEY_WRITE_NONE
;
myisam_recover_options
=
HA_RECOVER_DEFAULT
;
ha_open_options
&=
~
(
HA_OPEN_DELAY_KEY_WRITE
);
sql_print_warning
(
"The syntax '--safe-mode' is deprecated and will be "
"removed in a future release."
);
break
;
case
(
int
)
OPT_SKIP_PRIOR
:
opt_specialflag
|=
SPECIAL_NO_PRIOR
;
...
...
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