summaryrefslogtreecommitdiff
path: root/scripts/mysqld_multi.sh
diff options
context:
space:
mode:
authorMagne Mahre <magne.mahre@sun.com>2010-02-17 10:18:17 +0100
committerMagne Mahre <magne.mahre@sun.com>2010-02-17 10:18:17 +0100
commit1f7f620f3042a5b9c08912ae64b92c129e03065f (patch)
treeaaccb83f92ede50e6323716295584410abd5c643 /scripts/mysqld_multi.sh
parent775fd3ec7131b71ab2bc6b4d958a6fe711f767b0 (diff)
downloadmariadb-git-1f7f620f3042a5b9c08912ae64b92c129e03065f.tar.gz
WL#5154 Remove deprecated 4.1 features
A set of program options and variables was deprecated in MySQL 5.1, and is hereby removed.
Diffstat (limited to 'scripts/mysqld_multi.sh')
-rw-r--r--scripts/mysqld_multi.sh22
1 files changed, 2 insertions, 20 deletions
diff --git a/scripts/mysqld_multi.sh b/scripts/mysqld_multi.sh
index 430c74874eb..588c48fae4c 100644
--- a/scripts/mysqld_multi.sh
+++ b/scripts/mysqld_multi.sh
@@ -59,18 +59,6 @@ sub main
push @defaults_options, (shift @ARGV);
}
- # Handle deprecated --config-file option: convert to --defaults-extra-file
- foreach my $arg (@ARGV)
- {
- if ($arg =~ m/^--config-file=(.*)/)
- {
- # Put it at the beginning of the list, so it has lower precedence
- # than a correct --defaults-extra-file option
-
- unshift @defaults_options, "--defaults-extra-file=$1";
- }
- }
-
foreach (@defaults_options)
{
$_ = quote_shell_word($_);
@@ -79,11 +67,6 @@ sub main
# Add [mysqld_multi] options to front of @ARGV, ready for GetOptions()
unshift @ARGV, defaults_for_group('mysqld_multi');
- # The --config-file option can be ignored; if passed on the command
- # line, it's already handled; if specified in the configuration file,
- # it's redundant and not useful
- @ARGV= grep { not /^--config-file=/ } @ARGV;
-
# We've already handled --no-defaults, --defaults-file, etc.
if (!GetOptions("help", "example", "version", "mysqld=s", "mysqladmin=s",
"user=s", "password=s", "log=s", "no-log",
@@ -740,8 +723,8 @@ from both [mysqld_multi] and [mysqld#], a group that is tried to be
used, $my_progname will abort with an error.
$my_progname will search for groups named [mysqld#] from my.cnf (or
-the given --config-file=...), where '#' can be any positive integer
-starting from 1. These groups should be the same as the regular
+the given --defaults-extra-file=...), where '#' can be any positive
+integer starting from 1. These groups should be the same as the regular
[mysqld] group, but with those port, socket and any other options
that are to be used with each separate mysqld process. The number
in the group name has another function; it can be used for starting,
@@ -767,7 +750,6 @@ These options must be given before any others:
standard system-wide and user-specific files
Using: @{[join ' ', @defaults_options]}
---config-file=... Deprecated, please use --defaults-extra-file instead
--example Give an example of a config file with extra information.
--help Print this help and exit.
--log=... Log file. Full path to and the name for the log file. NOTE: