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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
e1809d1b
Commit
e1809d1b
authored
Feb 11, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge
mysql-test/mysql-test-run.sh: Auto merged
parents
8824fd1c
18faf002
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
8 deletions
+17
-8
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+17
-8
No files found.
mysql-test/mysql-test-run.pl
View file @
e1809d1b
...
@@ -510,8 +510,8 @@ sub command_line_setup () {
...
@@ -510,8 +510,8 @@ sub command_line_setup () {
{
{
# Up to two masters, up to three slaves
# Up to two masters, up to three slaves
$opt_master_myport
=
$ENV
{'
MTR_BUILD_THREAD
'}
*
10
+
10000
;
# and 1
$opt_master_myport
=
$ENV
{'
MTR_BUILD_THREAD
'}
*
10
+
10000
;
# and 1
$opt_slave_myport
=
$opt_master_myport
+
2
;
$opt_slave_myport
=
$opt_master_myport
+
2
;
# and 3 4
$opt_ndbcluster_port
=
$opt_master_myport
+
3
;
# and 4 5
$opt_ndbcluster_port
=
$opt_master_myport
+
5
;
$im_port
=
$opt_master_myport
+
6
;
$im_port
=
$opt_master_myport
+
6
;
$im_mysqld1_port
=
$opt_master_myport
+
7
;
$im_mysqld1_port
=
$opt_master_myport
+
7
;
$im_mysqld2_port
=
$opt_master_myport
+
8
;
$im_mysqld2_port
=
$opt_master_myport
+
8
;
...
@@ -1110,16 +1110,21 @@ sub environment_setup () {
...
@@ -1110,16 +1110,21 @@ sub environment_setup () {
$ENV
{'
MYSQL_TEST_DIR
'}
=
$glob_mysql_test_dir
;
$ENV
{'
MYSQL_TEST_DIR
'}
=
$glob_mysql_test_dir
;
$ENV
{'
MYSQL_TEST_WINDIR
'}
=
$glob_mysql_test_dir
;
$ENV
{'
MYSQL_TEST_WINDIR
'}
=
$glob_mysql_test_dir
;
$ENV
{'
MYSQLTEST_VARDIR
'}
=
$opt_vardir
;
$ENV
{'
MYSQLTEST_VARDIR
'}
=
$opt_vardir
;
$ENV
{'
MASTER_MYSOCK
'}
=
$master
->
[
0
]
->
{'
path_mysock
'};
$ENV
{'
MASTER_WINMYSOCK
'}
=
$master
->
[
0
]
->
{'
path_mysock
'};
$ENV
{'
MASTER_WINMYSOCK
'}
=
$master
->
[
0
]
->
{'
path_mysock
'};
$ENV
{'
MASTER_MYSOCK
'}
=
$master
->
[
0
]
->
{'
path_mysock
'};
$ENV
{'
MASTER_MYSOCK1
'}
=
$master
->
[
1
]
->
{'
path_mysock
'};
$ENV
{'
MASTER_MYSOCK1
'}
=
$master
->
[
1
]
->
{'
path_mysock
'};
$ENV
{'
MASTER_MYPORT
'}
=
$master
->
[
0
]
->
{'
path_myport
'};
$ENV
{'
MASTER_MYPORT
'}
=
$master
->
[
0
]
->
{'
path_myport
'};
$ENV
{'
MASTER_MYPORT1
'}
=
$master
->
[
1
]
->
{'
path_myport
'};
$ENV
{'
MASTER_MYPORT1
'}
=
$master
->
[
1
]
->
{'
path_myport
'};
$ENV
{'
SLAVE_MYPORT
'}
=
$slave
->
[
0
]
->
{'
path_myport
'};
$ENV
{'
SLAVE_MYPORT
'}
=
$slave
->
[
0
]
->
{'
path_myport
'};
$ENV
{'
SLAVE_MYPORT1
'}
=
$slave
->
[
1
]
->
{'
path_myport
'};
$ENV
{'
SLAVE_MYPORT2
'}
=
$slave
->
[
2
]
->
{'
path_myport
'};
# $ENV{'MYSQL_TCP_PORT'}= '@MYSQL_TCP_PORT@'; # FIXME
# $ENV{'MYSQL_TCP_PORT'}= '@MYSQL_TCP_PORT@'; # FIXME
$ENV
{'
MYSQL_TCP_PORT
'}
=
3306
;
$ENV
{'
MYSQL_TCP_PORT
'}
=
3306
;
$ENV
{'
NDBCLUSTER_PORT
'}
=
$opt_ndbcluster_port
;
$ENV
{'
IM_PATH_PID
'}
=
$instance_manager
->
{
path_pid
};
$ENV
{'
IM_PATH_PID
'}
=
$instance_manager
->
{
path_pid
};
$ENV
{'
IM_PORT
'}
=
$instance_manager
->
{
port
};
$ENV
{'
IM_MYSQLD1_SOCK
'}
=
$instance_manager
->
{
instances
}
->
[
0
]
->
{
path_sock
};
$ENV
{'
IM_MYSQLD1_SOCK
'}
=
$instance_manager
->
{
instances
}
->
[
0
]
->
{
path_sock
};
$ENV
{'
IM_MYSQLD1_PORT
'}
=
$instance_manager
->
{
instances
}
->
[
0
]
->
{
port
};
$ENV
{'
IM_MYSQLD1_PORT
'}
=
$instance_manager
->
{
instances
}
->
[
0
]
->
{
port
};
...
@@ -1138,15 +1143,19 @@ sub environment_setup () {
...
@@ -1138,15 +1143,19 @@ sub environment_setup () {
}
}
}
}
$ENV
{
MTR_BUILD_THREAD
}
=
0
unless
$ENV
{
MTR_BUILD_THREAD
};
# Set if not set
# We are nice and report a bit about our settings
# We are nice and report a bit about our settings
print
"
Using MTR_BUILD_THREAD =
",
$ENV
{
MTR_BUILD_THREAD
}
||
0
,"
\n
";
print
"
Using MTR_BUILD_THREAD =
$ENV
{MTR_BUILD_THREAD}
\n
";
print
"
Using MASTER_MYPORT =
$ENV
{MASTER_MYPORT}
\n
";
print
"
Using MASTER_MYPORT =
$ENV
{MASTER_MYPORT}
\n
";
print
"
Using MASTER_MYPORT1 =
$ENV
{MASTER_MYPORT1}
\n
";
print
"
Using MASTER_MYPORT1 =
$ENV
{MASTER_MYPORT1}
\n
";
print
"
Using SLAVE_MYPORT =
$ENV
{SLAVE_MYPORT}
\n
";
print
"
Using SLAVE_MYPORT =
$ENV
{SLAVE_MYPORT}
\n
";
print
"
Using NDBCLUSTER_PORT =
$opt_ndbcluster_port
\n
";
print
"
Using SLAVE_MYPORT1 =
$ENV
{SLAVE_MYPORT1}
\n
";
print
"
Using IM_PORT =
$instance_manager
->{'port'}
\n
";
print
"
Using SLAVE_MYPORT2 =
$ENV
{SLAVE_MYPORT2}
\n
";
print
"
Using IM_MYSQLD1_PORT =
$ENV
{'IM_MYSQLD1_PORT'}
\n
";
print
"
Using NDBCLUSTER_PORT =
$ENV
{NDBCLUSTER_PORT}
\n
";
print
"
Using IM_MYSQLD2_PORT =
$ENV
{'IM_MYSQLD2_PORT'}
\n
";
print
"
Using IM_PORT =
$ENV
{IM_PORT}
\n
";
print
"
Using IM_MYSQLD1_PORT =
$ENV
{IM_MYSQLD1_PORT}
\n
";
print
"
Using IM_MYSQLD2_PORT =
$ENV
{IM_MYSQLD2_PORT}
\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