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
dbe820a0
Commit
dbe820a0
authored
Sep 19, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pass --debug arguments to mysqld also when bootstrapping if --debug is tunrned on
parent
ea1a9e41
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
8 deletions
+15
-8
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+15
-8
No files found.
mysql-test/mysql-test-run.pl
View file @
dbe820a0
...
@@ -1724,14 +1724,15 @@ sub initialize_servers () {
...
@@ -1724,14 +1724,15 @@ sub initialize_servers () {
sub
mysql_install_db
()
{
sub
mysql_install_db
()
{
# FIXME not exactly true I think, needs improvements
# FIXME not exactly true I think, needs improvements
install_db
('
master
',
$master
->
[
0
]
->
{'
path_myddir
'});
install_db
('
master1
',
$master
->
[
0
]
->
{'
path_myddir
'});
install_db
('
master
',
$master
->
[
1
]
->
{'
path_myddir
'});
install_db
('
master2
',
$master
->
[
1
]
->
{'
path_myddir
'});
if
(
$use_slaves
)
if
(
$use_slaves
)
{
{
install_db
('
slave
',
$slave
->
[
0
]
->
{'
path_myddir
'});
install_db
('
slave
1
',
$slave
->
[
0
]
->
{'
path_myddir
'});
install_db
('
slave
',
$slave
->
[
1
]
->
{'
path_myddir
'});
install_db
('
slave
2
',
$slave
->
[
1
]
->
{'
path_myddir
'});
install_db
('
slave
',
$slave
->
[
2
]
->
{'
path_myddir
'});
install_db
('
slave
3
',
$slave
->
[
2
]
->
{'
path_myddir
'});
}
}
if
(
!
$opt_skip_im
)
if
(
!
$opt_skip_im
)
...
@@ -1807,6 +1808,12 @@ sub install_db ($$) {
...
@@ -1807,6 +1808,12 @@ sub install_db ($$) {
mtr_add_arg
(
$args
,
"
--skip-ndbcluster
");
mtr_add_arg
(
$args
,
"
--skip-ndbcluster
");
mtr_add_arg
(
$args
,
"
--skip-bdb
");
mtr_add_arg
(
$args
,
"
--skip-bdb
");
if
(
$opt_debug
)
{
mtr_add_arg
(
$args
,
"
--debug=d:t:i:A,%s/log/bootstrap_%s.trace
",
$opt_vardir_trace
,
$type
);
}
if
(
!
$opt_netware
)
if
(
!
$opt_netware
)
{
{
mtr_add_arg
(
$args
,
"
--language=%s
",
$path_language
);
mtr_add_arg
(
$args
,
"
--language=%s
",
$path_language
);
...
@@ -2403,7 +2410,7 @@ sub do_before_start_slave ($$) {
...
@@ -2403,7 +2410,7 @@ sub do_before_start_slave ($$) {
sub
mysqld_arguments
($$$$$$)
{
sub
mysqld_arguments
($$$$$$)
{
my
$args
=
shift
;
my
$args
=
shift
;
my
$type
=
shift
;
# master/slave
/bootstrap
my
$type
=
shift
;
# master/slave
my
$idx
=
shift
;
my
$idx
=
shift
;
my
$extra_opt
=
shift
;
my
$extra_opt
=
shift
;
my
$slave_master_info
=
shift
;
my
$slave_master_info
=
shift
;
...
@@ -2632,7 +2639,7 @@ sub mysqld_arguments ($$$$$$) {
...
@@ -2632,7 +2639,7 @@ sub mysqld_arguments ($$$$$$) {
##############################################################################
##############################################################################
sub
mysqld_start
($$$$$)
{
sub
mysqld_start
($$$$$)
{
my
$type
=
shift
;
# master/slave
/bootstrap
my
$type
=
shift
;
# master/slave
my
$idx
=
shift
;
my
$idx
=
shift
;
my
$extra_opt
=
shift
;
my
$extra_opt
=
shift
;
my
$slave_master_info
=
shift
;
my
$slave_master_info
=
shift
;
...
@@ -2653,7 +2660,7 @@ sub mysqld_start ($$$$$) {
...
@@ -2653,7 +2660,7 @@ sub mysqld_start ($$$$$) {
}
}
else
else
{
{
$exe
=
$exe_mysqld
;
mtr_error
("
Unknown 'type' passed to mysqld_start
")
;
}
}
mtr_init_args
(
\
$args
);
mtr_init_args
(
\
$args
);
...
...
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