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
73cffa77
Commit
73cffa77
authored
May 11, 2007
by
skozlov/ksm@mysql.com/virtop.localdomain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL#3702
parent
90647733
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+9
-7
No files found.
mysql-test/mysql-test-run.pl
View file @
73cffa77
...
...
@@ -3851,13 +3851,15 @@ sub mysqld_arguments ($$$$) {
}
else
{
mtr_add_arg
(
$args
,
"
%s--master-user=root
",
$prefix
);
mtr_add_arg
(
$args
,
"
%s--master-connect-retry=1
",
$prefix
);
mtr_add_arg
(
$args
,
"
%s--master-host=127.0.0.1
",
$prefix
);
mtr_add_arg
(
$args
,
"
%s--master-password=
",
$prefix
);
mtr_add_arg
(
$args
,
"
%s--master-port=%d
",
$prefix
,
$master
->
[
0
]
->
{'
port
'});
# First master
if
(
$mysql_version_id
<
50200
)
{
mtr_add_arg
(
$args
,
"
%s--master-user=root
",
$prefix
);
mtr_add_arg
(
$args
,
"
%s--master-connect-retry=1
",
$prefix
);
mtr_add_arg
(
$args
,
"
%s--master-host=127.0.0.1
",
$prefix
);
mtr_add_arg
(
$args
,
"
%s--master-password=
",
$prefix
);
mtr_add_arg
(
$args
,
"
%s--master-port=%d
",
$prefix
,
$master
->
[
0
]
->
{'
port
'});
# First master
}
my
$slave_server_id
=
2
+
$idx
;
my
$slave_rpl_rank
=
$slave_server_id
;
mtr_add_arg
(
$args
,
"
%s--server-id=%d
",
$prefix
,
$slave_server_id
);
...
...
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