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
f50739e1
Commit
f50739e1
authored
Apr 26, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0
into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0
parents
a88c9250
2f24a41c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
scripts/mysqld_multi.sh
scripts/mysqld_multi.sh
+13
-10
No files found.
scripts/mysqld_multi.sh
View file @
f50739e1
...
@@ -4,7 +4,7 @@ use Getopt::Long;
...
@@ -4,7 +4,7 @@ use Getopt::Long;
use POSIX qw
(
strftime
)
;
use POSIX qw
(
strftime
)
;
$|
=
1
;
$|
=
1
;
$VER
=
"2.1
2
"
;
$VER
=
"2.1
3
"
;
$opt_config_file
=
undef
()
;
$opt_config_file
=
undef
()
;
$opt_example
=
0
;
$opt_example
=
0
;
...
@@ -37,13 +37,13 @@ main();
...
@@ -37,13 +37,13 @@ main();
sub main
sub main
{
{
my
(
$flag_exit
)
;
my
$flag_exit
=
0
;
if
(!
defined
(
my_which
(
my_print_defaults
)))
if
(!
defined
(
my_which
(
my_print_defaults
)))
{
{
# We can't throw out yet, since --version, --help, or --example may
# We can't throw out yet, since --version, --help, or --example may
# have been given
# have been given
print
"WARNING
! my_print_defaults command not found!
\n
"
;
print
"WARNING
: my_print_defaults command not found.
\n
"
;
print
"Please make sure you have this command available and
\n
"
;
print
"Please make sure you have this command available and
\n
"
;
print
"in your path. The command is available from the latest
\n
"
;
print
"in your path. The command is available from the latest
\n
"
;
print
"MySQL distribution.
\n
"
;
print
"MySQL distribution.
\n
"
;
...
@@ -76,10 +76,14 @@ sub main
...
@@ -76,10 +76,14 @@ sub main
chop @defops
;
chop @defops
;
splice @ARGV, 0, 0, @defops
;
splice @ARGV, 0, 0, @defops
;
}
}
GetOptions
(
"help"
,
"example"
,
"version"
,
"mysqld=s"
,
"mysqladmin=s"
,
if
(!
GetOptions
(
"help"
,
"example"
,
"version"
,
"mysqld=s"
,
"mysqladmin=s"
,
"config-file=s"
,
"user=s"
,
"password=s"
,
"log=s"
,
"no-log"
,
"tcp-ip"
,
"config-file=s"
,
"user=s"
,
"password=s"
,
"log=s"
,
"no-log"
,
"silent"
,
"verbose"
)
"tcp-ip"
,
"silent"
,
"verbose"
))
||
die
"Wrong option! See
$my_progname
--help for detailed information!
\n
"
;
{
$flag_exit
=
1
;
}
usage
()
if
(
$opt_help
)
;
if
(
$opt_verbose
&&
$opt_silent
)
if
(
$opt_verbose
&&
$opt_silent
)
{
{
...
@@ -95,15 +99,14 @@ sub main
...
@@ -95,15 +99,14 @@ sub main
exit
(
0
)
;
exit
(
0
)
;
}
}
example
()
if
(
$opt_example
)
;
example
()
if
(
$opt_example
)
;
usage
()
if
(
$opt_help
)
;
if
(
$flag_exit
)
if
(
$flag_exit
)
{
{
print
"Error with an option, see
$my_progname
--help for more info
!
\n
"
;
print
"Error with an option, see
$my_progname
--help for more info
.
\n
"
;
exit
(
1
)
;
exit
(
1
)
;
}
}
if
(!
defined
(
my_which
(
my_print_defaults
)))
if
(!
defined
(
my_which
(
my_print_defaults
)))
{
{
print
"ABORT: Can't find command 'my_print_defaults'
!
\n
"
;
print
"ABORT: Can't find command 'my_print_defaults'
.
\n
"
;
print
"This command is available from the latest MySQL
\n
"
;
print
"This command is available from the latest MySQL
\n
"
;
print
"distribution. Please make sure you have the command
\n
"
;
print
"distribution. Please make sure you have the command
\n
"
;
print
"in your PATH.
\n
"
;
print
"in your PATH.
\n
"
;
...
...
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