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
31a4940b
Commit
31a4940b
authored
Dec 07, 2007
by
tsmith@ramayana.hindu.god
Browse files
Options
Browse Files
Download
Plain Diff
Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/50
into ramayana.hindu.god:/home/tsmith/m/bk/maint/51
parents
3b45ef82
4eb097ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+25
-0
No files found.
mysql-test/mysql-test-run.pl
View file @
31a4940b
...
...
@@ -463,6 +463,19 @@ sub main () {
#
##############################################################################
#
# When an option is no longer used by this program, it must be explicitly
# ignored or else it will be passed through to mysqld. GetOptions will call
# this subroutine once for each such option on the command line. See
# Getopt::Long documentation.
#
sub
warn_about_removed_option
{
my
(
$option
,
$value
,
$hash_value
)
=
@_
;
warn
"
WARNING: This option is no longer used, and is ignored: --
$option
\n
";
}
sub
command_line_setup
()
{
# These are defaults for things that are set on the command line
...
...
@@ -499,6 +512,15 @@ sub command_line_setup () {
# Read the command line
# Note: Keep list, and the order, in sync with usage at end of this file
# Options that are no longer used must still be processed, because all
# unprocessed options are passed directly to mysqld. The user will be
# warned that the option is being ignored.
#
# Put the complete option string here. For example, to remove the --suite
# option, remove it from GetOptions() below and put 'suite|suites=s' here.
my
@removed_options
=
(
);
Getopt::Long::
Configure
("
pass_through
");
GetOptions
(
# Control what engine/variation to run
...
...
@@ -628,6 +650,9 @@ sub command_line_setup () {
'
suite-timeout=i
'
=>
\
$opt_suite_timeout
,
'
warnings|log-warnings
'
=>
\
$opt_warnings
,
# Options which are no longer used
(
map
{
$_
=>
\&
warn_about_removed_option
}
@removed_options
),
'
help|h
'
=>
\
$opt_usage
,
)
or
usage
("
Can't read options
");
...
...
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